Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 120.4 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 199.3 kB / 20.74 MB, free: 2.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.557/1.557, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001617/0.001617, allocations: 43.94 kB / 373.5 MB, free: 9.746 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1106, allocations: 53.33 MB / 426.8 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003704/0.1143, allocations: 2.452 MB / 429.2 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004828/0.1148, allocations: 239.1 kB / 429.5 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.1149, allocations: 11.94 kB / 429.5 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001495/0.115, allocations: 47.58 kB / 429.5 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001591/0.1152, allocations: 83.2 kB / 429.6 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001722/0.1153, allocations: 51.94 kB / 429.7 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003283/0.1157, allocations: 298.6 kB / 430 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001757/0.1158, allocations: 65.72 kB / 430 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.116, allocations: 119.6 kB / 430.1 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001792/0.1162, allocations: 115.5 kB / 430.2 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.498e-05/0.1162, allocations: 20 kB / 430.3 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.752e-05/0.1163, allocations: 24 kB / 430.3 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.773e-05/0.1163, allocations: 55.83 kB / 430.3 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001494/0.1165, allocations: 135.3 kB / 430.5 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003426/0.1168, allocations: 290.7 kB / 430.8 MB, free: 324 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1168, allocations: 0 / 430.8 MB, free: 324 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.1168, allocations: 0 / 430.8 MB, free: 324 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1168, allocations: 0 / 430.8 MB, free: 324 kB / 350.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.2135/0.3303, allocations: 0.555 MB / 431.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.3304, allocations: 8.719 kB / 431.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.668e-05/0.3305, allocations: 31.47 kB / 431.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000332/0.3308, allocations: 243.6 kB / 431.6 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.3308, allocations: 16.66 kB / 431.6 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.465e-05/0.3309, allocations: 26.8 kB / 431.6 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004674/0.3313, allocations: 239.9 kB / 431.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.3314, allocations: 5.375 kB / 431.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.619e-05/0.3314, allocations: 15.19 kB / 431.9 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.3314, allocations: 6.203 kB / 431.9 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003133/0.3317, allocations: 163.9 kB / 432.1 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.3328, allocations: 0.7929 MB / 432.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005103/0.3333, allocations: 277.7 kB / 433.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002303/0.3335, allocations: 122.1 kB / 433.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.3335, allocations: 4.562 kB / 433.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.3335, allocations: 41.02 kB / 433.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.754e-06/0.3335, allocations: 2.938 kB / 433.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=45): time 0.002351/0.3359, allocations: 1.957 MB / 435.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.3359, allocations: 111.7 kB / 435.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.3361, allocations: 185.9 kB / 435.5 MB, free: 8.734 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.3361, allocations: 30.86 kB / 435.6 MB, free: 8.699 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.221e-05/0.3362, allocations: 141 kB / 435.7 MB, free: 8.574 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.086e-05/0.3363, allocations: 167.3 kB / 435.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.142e-05/0.3363, allocations: 73.28 kB / 435.9 MB, free: 8.402 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.692e-05/0.3364, allocations: 341.1 kB / 436.3 MB, free: 8.078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.3365, allocations: 93.64 kB / 436.4 MB, free: 8.047 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.3367, allocations: 158.7 kB / 436.5 MB, free: 7.949 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003291/0.337, allocations: 271.1 kB / 436.8 MB, free: 7.797 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.337, allocations: 0 / 436.8 MB, free: 7.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000455/0.3375, allocations: 347.4 kB / 437.1 MB, free: 7.656 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.3375, allocations: 9.156 kB / 437.1 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.3375, allocations: 2.469 kB / 437.1 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/0.3375, allocations: 6.375 kB / 437.1 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003393/0.3379, allocations: 86.98 kB / 437.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.3379, allocations: 20.45 kB / 437.2 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.338, allocations: 11.12 kB / 437.3 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.338, allocations: 15.22 kB / 437.3 MB, free: 7.629 MB / 350.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.0001152/0.3381, allocations: 151 kB / 437.4 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.538e-05/0.3382, allocations: 33.84 kB / 437.4 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.221e-05/0.3383, allocations: 35.8 kB / 437.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.3383, allocations: 11.36 kB / 437.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.3383, allocations: 1.469 kB / 437.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.3383, allocations: 5.219 kB / 437.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001208/0.3395, allocations: 1.052 MB / 438.6 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.3396, allocations: 3.969 kB / 438.6 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003769/0.3399, allocations: 90.84 kB / 438.6 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.844e-06/0.3399, allocations: 8.75 kB / 438.7 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.409e-05/0.34, allocations: 9.281 kB / 438.7 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.652e-06/0.34, allocations: 8.938 kB / 438.7 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.34, allocations: 4.438 kB / 438.7 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006934/0.3407, allocations: 0.7227 MB / 439.4 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.005e-05/0.3407, allocations: 109.3 kB / 439.5 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.769e-05/0.3408, allocations: 10.48 kB / 439.5 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/0.341, allocations: 11.5 kB / 439.5 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.914e-05/0.341, allocations: 46.83 kB / 439.6 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/0.3411, allocations: 12.62 kB / 439.6 MB, free: 5.988 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.653e-05/0.3412, allocations: 143.9 kB / 439.7 MB, free: 5.891 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3412, allocations: 0 / 439.7 MB, free: 5.891 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004397/0.3416, allocations: 72.28 kB / 439.8 MB, free: 5.879 MB / 350.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.0001015/0.3417, allocations: 108 kB / 439.9 MB, free: 5.785 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004309/0.3421, allocations: 259 kB / 440.2 MB, free: 5.699 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3421, allocations: 5.188 kB / 440.2 MB, free: 5.695 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001904/0.3423, allocations: 128.1 kB / 440.3 MB, free: 5.656 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007106/0.343, allocations: 64.09 kB / 440.3 MB, free: 5.637 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.3444, allocations: 0.9167 MB / 441.3 MB, free: 4.988 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.3446, allocations: 0.7747 MB / 442 MB, free: 4.281 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001277/0.3447, allocations: 37 kB / 442.1 MB, free: 4.273 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.815e-05/0.3448, allocations: 27.59 kB / 442.1 MB, free: 4.266 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3448, allocations: 1.188 kB / 442.1 MB, free: 4.266 MB / 350.1 MB Notification: Performance of Templates: time 0.008395/0.3532, allocations: 3.081 MB / 445.2 MB, free: 4.051 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.759166236966848]