Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 109 kB / 17.06 MB, free: 5.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 195 kB / 18 MB, free: 4.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0011/0.0011, allocations: 43.92 kB / 350.8 MB, free: 3.777 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2563, allocations: 49.44 MB / 400.2 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003361/0.2597, allocations: 2.414 MB / 402.6 MB, free: 6.406 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006119/0.2603, allocations: 239.1 kB / 402.9 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002158/0.2605, allocations: 7.938 kB / 402.9 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001971/0.2608, allocations: 43.58 kB / 402.9 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002337/0.261, allocations: 87.2 kB / 403 MB, free: 6.035 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002189/0.2612, allocations: 51.88 kB / 403.1 MB, free: 5.984 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003576/0.2616, allocations: 294.6 kB / 403.3 MB, free: 5.695 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002314/0.2618, allocations: 101.7 kB / 403.4 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.262, allocations: 115.6 kB / 403.6 MB, free: 5.48 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000175/0.2622, allocations: 115.5 kB / 403.7 MB, free: 5.367 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.054e-05/0.2623, allocations: 20 kB / 403.7 MB, free: 5.348 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.632e-05/0.2623, allocations: 24 kB / 403.7 MB, free: 5.324 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.409e-05/0.2624, allocations: 63.75 kB / 403.8 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.2625, allocations: 127.4 kB / 403.9 MB, free: 5.137 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002939/0.2628, allocations: 292.6 kB / 404.2 MB, free: 4.852 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2628, allocations: 4 kB / 404.2 MB, free: 4.848 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.614e-06/0.2628, allocations: 0 / 404.2 MB, free: 4.848 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.31e-05/0.2628, allocations: 0 / 404.2 MB, free: 4.848 MB / 318.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.0007835/0.2636, allocations: 0.5341 MB / 404.7 MB, free: 4.262 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.2637, allocations: 15.89 kB / 404.7 MB, free: 4.246 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.067e-05/0.2637, allocations: 62.72 kB / 404.8 MB, free: 4.176 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.873e-05/0.2638, allocations: 24.66 kB / 404.8 MB, free: 4.152 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003081/0.2641, allocations: 257.1 kB / 405.1 MB, free: 3.859 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.2641, allocations: 20.94 kB / 405.1 MB, free: 3.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.106e-05/0.2642, allocations: 24.38 kB / 405.1 MB, free: 3.816 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003735/0.2646, allocations: 240 kB / 405.4 MB, free: 3.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/0.2646, allocations: 7.938 kB / 405.4 MB, free: 3.562 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/0.2646, allocations: 12 kB / 405.4 MB, free: 3.551 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.2647, allocations: 4 kB / 405.4 MB, free: 3.547 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002582/0.2649, allocations: 167.7 kB / 405.5 MB, free: 3.383 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.2659, allocations: 0.8009 MB / 406.3 MB, free: 2.523 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004848/0.2664, allocations: 287.8 kB / 406.6 MB, free: 2.215 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002325/0.2667, allocations: 130.7 kB / 406.8 MB, free: 2.078 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.2667, allocations: 11.92 kB / 406.8 MB, free: 2.066 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.2667, allocations: 34.56 kB / 406.8 MB, free: 2.023 MB / 318.1 MB Notification: Performance of pre-optimization done (n=33): time 1.553e-06/0.2667, allocations: 7.938 kB / 406.8 MB, free: 2.016 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.002487/0.2692, allocations: 1.941 MB / 408.7 MB, free: 15.81 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/0.2693, allocations: 110.8 kB / 408.9 MB, free: 15.68 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.2695, allocations: 191.8 kB / 409 MB, free: 15.48 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.2695, allocations: 29.7 kB / 409.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.16e-05/0.2696, allocations: 144.6 kB / 409.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.2697, allocations: 157.6 kB / 409.4 MB, free: 15.14 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.095e-05/0.2698, allocations: 74.14 kB / 409.4 MB, free: 15.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.2699, allocations: 342.8 kB / 409.8 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.2701, allocations: 92.78 kB / 409.9 MB, free: 14.63 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/0.2703, allocations: 158.3 kB / 410 MB, free: 14.45 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003635/0.2707, allocations: 264.3 kB / 410.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.2707, allocations: 0 / 410.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004985/0.2712, allocations: 356.2 kB / 410.6 MB, free: 13.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.2712, allocations: 7.938 kB / 410.6 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.2712, allocations: 4 kB / 410.6 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.2712, allocations: 8.094 kB / 410.6 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000329/0.2716, allocations: 91.89 kB / 410.7 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.2716, allocations: 7.938 kB / 410.7 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.2717, allocations: 8 kB / 410.7 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.2717, allocations: 16 kB / 410.8 MB, free: 13.68 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.0001338/0.2719, allocations: 149.7 kB / 410.9 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.754e-05/0.272, allocations: 36.5 kB / 410.9 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.91e-05/0.272, allocations: 37.86 kB / 411 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.2721, allocations: 8 kB / 411 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.2721, allocations: 0 / 411 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/0.2721, allocations: 7.984 kB / 411 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001302/0.2734, allocations: 1.05 MB / 412 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.2734, allocations: 4 kB / 412.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003611/0.2738, allocations: 91.83 kB / 412.1 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.648e-06/0.2738, allocations: 8 kB / 412.1 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.759e-05/0.2738, allocations: 8 kB / 412.2 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.2738, allocations: 4.281 kB / 412.2 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.127e-06/0.2739, allocations: 15.94 kB / 412.2 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007385/0.2746, allocations: 0.7207 MB / 412.9 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.977e-05/0.2747, allocations: 104.9 kB / 413 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.96e-05/0.2747, allocations: 8 kB / 413 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002163/0.2749, allocations: 12 kB / 413 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.221e-05/0.275, allocations: 39.89 kB / 413.1 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.275, allocations: 15.94 kB / 413.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.75e-05/0.2751, allocations: 136.5 kB / 413.2 MB, free: 11.08 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2751, allocations: 4 kB / 413.2 MB, free: 11.07 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004199/0.2756, allocations: 68 kB / 413.3 MB, free: 11.01 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.000974/0.2765, allocations: 1.275 MB / 414.6 MB, free: 9.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004173/0.277, allocations: 263.6 kB / 414.8 MB, free: 9.422 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.277, allocations: 4 kB / 414.8 MB, free: 9.418 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001773/0.2772, allocations: 144 kB / 415 MB, free: 9.277 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006722/0.2778, allocations: 71.34 kB / 415 MB, free: 9.211 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003722/0.2816, allocations: 3.291 MB / 418.3 MB, free: 5.738 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.2819, allocations: 0.7644 MB / 419.1 MB, free: 4.949 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001397/0.2821, allocations: 38.95 kB / 419.1 MB, free: 4.91 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.2822, allocations: 91.41 kB / 419.2 MB, free: 4.82 MB / 334.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2822, allocations: 0 / 419.2 MB, free: 4.82 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02516/0.3074, allocations: 6.018 MB / 425.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.682/7.989, allocations: 3.516 kB / 425.2 MB, free: 14.91 MB / 350.1 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Damper_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Damper.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches