Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001296/0.001284, allocations: 122.8 kB / 17.79 MB, free: 5.246 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001465/0.001465, allocations: 202 kB / 18.74 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 227.4 MB / 247 MB, free: 10.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001778/0.001778, allocations: 68.12 kB / 358.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2522, allocations: 50.55 MB / 408.8 MB, free: 1.477 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.00348/0.2557, allocations: 2.432 MB / 411.2 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004673/0.2562, allocations: 250.6 kB / 411.5 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.2563, allocations: 4 kB / 411.5 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000139/0.2565, allocations: 47.45 kB / 411.5 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001463/0.2566, allocations: 79.27 kB / 411.6 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001624/0.2568, allocations: 55.94 kB / 411.7 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003067/0.2571, allocations: 294.6 kB / 412 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001889/0.2573, allocations: 93.67 kB / 412.1 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.2574, allocations: 103.6 kB / 412.2 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.2576, allocations: 119.5 kB / 412.3 MB, free: 14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.989e-05/0.2576, allocations: 23.94 kB / 412.3 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.592e-05/0.2577, allocations: 28 kB / 412.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.696e-05/0.2578, allocations: 55.78 kB / 412.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.2579, allocations: 131.4 kB / 412.5 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003227/0.2582, allocations: 289.7 kB / 412.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2582, allocations: 0 / 412.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2582, allocations: 0 / 412.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.2583, allocations: 4 kB / 412.8 MB, free: 13.48 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0007499/0.259, allocations: 0.5455 MB / 413.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.2591, allocations: 12.03 kB / 413.3 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.993e-05/0.2591, allocations: 58.73 kB / 413.4 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.291e-05/0.2592, allocations: 28.75 kB / 413.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.2595, allocations: 248.7 kB / 413.7 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.2595, allocations: 16.94 kB / 413.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.262e-05/0.2596, allocations: 24.38 kB / 413.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003987/0.26, allocations: 252 kB / 414 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.26, allocations: 3.938 kB / 414 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.26, allocations: 12 kB / 414 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/0.26, allocations: 7.984 kB / 414 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002803/0.2603, allocations: 166.7 kB / 414.1 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.2614, allocations: 0.8011 MB / 414.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005102/0.2619, allocations: 295.2 kB / 415.2 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002501/0.2622, allocations: 138.7 kB / 415.4 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.2622, allocations: 7.938 kB / 415.4 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.2622, allocations: 38.5 kB / 415.4 MB, free: 10.63 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.493e-06/0.2622, allocations: 0 / 415.4 MB, free: 10.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.00281/0.2651, allocations: 1.944 MB / 417.4 MB, free: 8.434 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.763e-05/0.2651, allocations: 110.8 kB / 417.5 MB, free: 8.301 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.2653, allocations: 190.8 kB / 417.7 MB, free: 8.102 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.2654, allocations: 30.64 kB / 417.7 MB, free: 8.066 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.805e-05/0.2655, allocations: 140.9 kB / 417.8 MB, free: 7.926 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.2656, allocations: 166.5 kB / 418 MB, free: 7.762 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.2657, allocations: 74.12 kB / 418.1 MB, free: 7.684 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.2659, allocations: 338.8 kB / 418.4 MB, free: 7.344 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.2661, allocations: 92.84 kB / 418.5 MB, free: 7.254 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.2663, allocations: 154.5 kB / 418.6 MB, free: 7.082 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004053/0.2667, allocations: 291.1 kB / 418.9 MB, free: 6.781 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2667, allocations: 0 / 418.9 MB, free: 6.781 MB / 334.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005203/0.2672, allocations: 341.2 kB / 419.2 MB, free: 6.441 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.2673, allocations: 11.88 kB / 419.3 MB, free: 6.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.2673, allocations: 4 kB / 419.3 MB, free: 6.426 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.2673, allocations: 4 kB / 419.3 MB, free: 6.422 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003282/0.2676, allocations: 91.84 kB / 419.4 MB, free: 6.332 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.2677, allocations: 7.984 kB / 419.4 MB, free: 6.324 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.2678, allocations: 12.09 kB / 419.4 MB, free: 6.312 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/0.2678, allocations: 19.98 kB / 419.4 MB, free: 6.293 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001541/0.268, allocations: 149.7 kB / 419.5 MB, free: 6.137 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.407e-05/0.2681, allocations: 31.75 kB / 419.6 MB, free: 6.105 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.299e-05/0.2681, allocations: 37.88 kB / 419.6 MB, free: 6.07 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.2682, allocations: 4 kB / 419.6 MB, free: 6.066 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.2682, allocations: 3.984 kB / 419.6 MB, free: 6.062 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.2682, allocations: 4.031 kB / 419.6 MB, free: 6.059 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001443/0.2696, allocations: 1.058 MB / 420.7 MB, free: 4.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.2696, allocations: 4 kB / 420.7 MB, free: 4.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003585/0.27, allocations: 95.77 kB / 420.8 MB, free: 4.816 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.585e-06/0.27, allocations: 8 kB / 420.8 MB, free: 4.809 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.2701, allocations: 8 kB / 420.8 MB, free: 4.801 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.2701, allocations: 4 kB / 420.8 MB, free: 4.797 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.2701, allocations: 4 kB / 420.8 MB, free: 4.793 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007904/0.2709, allocations: 0.7253 MB / 421.5 MB, free: 4.023 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.3e-05/0.271, allocations: 109 kB / 421.6 MB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.843e-05/0.271, allocations: 11.98 kB / 421.6 MB, free: 3.887 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/0.2712, allocations: 12 kB / 421.7 MB, free: 3.875 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.599e-05/0.2713, allocations: 35.84 kB / 421.7 MB, free: 3.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.2713, allocations: 16.12 kB / 421.7 MB, free: 3.824 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001214/0.2714, allocations: 144.9 kB / 421.8 MB, free: 3.684 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2714, allocations: 0 / 421.8 MB, free: 3.684 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004069/0.2718, allocations: 72 kB / 421.9 MB, free: 3.613 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001144/0.273, allocations: 1.271 MB / 423.2 MB, free: 2.281 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004397/0.2734, allocations: 266 kB / 423.4 MB, free: 2.023 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2735, allocations: 0 / 423.4 MB, free: 2.023 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001957/0.2737, allocations: 143.7 kB / 423.6 MB, free: 1.883 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006722/0.2743, allocations: 72.8 kB / 423.7 MB, free: 1.816 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00385/0.2782, allocations: 3.293 MB / 427 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004349/0.2786, allocations: 0.776 MB / 427.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001183/0.2788, allocations: 30.95 kB / 427.8 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001571/0.2789, allocations: 95.41 kB / 427.9 MB, free: 13.41 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2789, allocations: 4 kB / 427.9 MB, free: 13.41 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02894/0.3079, allocations: 5.937 MB / 433.8 MB, free: 7.59 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.873/8.181, allocations: 11.92 kB / 433.8 MB, free: 7.578 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_Damper_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_Damper.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches