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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 120.5 kB / 18.41 MB, free: 4.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001921/0.001921, allocations: 190.7 kB / 21.35 MB, free: 1.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 222.9 MB / 247 MB, free: 4.184 MB / 190.1 MB " [Timeout remaining time 178] 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: 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.0.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.0.0_Modelica.Mechanics.Translational.Examples.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 51.92 kB / 358.7 MB, free: 8.305 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1067, allocations: 49.43 MB / 408.1 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003785/0.1105, allocations: 2.425 MB / 410.5 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005449/0.1111, allocations: 243 kB / 410.7 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.1112, allocations: 4 kB / 410.8 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001865/0.1114, allocations: 43.58 kB / 410.8 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000166/0.1116, allocations: 83.27 kB / 410.9 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001868/0.1118, allocations: 55.88 kB / 410.9 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003482/0.1122, allocations: 290.7 kB / 411.2 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002405/0.1124, allocations: 105.6 kB / 411.3 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.1126, allocations: 111.6 kB / 411.4 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.1128, allocations: 115.5 kB / 411.5 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.029e-05/0.1128, allocations: 23.94 kB / 411.6 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.027e-05/0.1129, allocations: 24 kB / 411.6 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.415e-05/0.1129, allocations: 47.84 kB / 411.6 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001538/0.1131, allocations: 139.3 kB / 411.8 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003641/0.1134, allocations: 282.9 kB / 412 MB, free: 2.852 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1135, allocations: 0 / 412 MB, free: 2.852 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.205e-06/0.1135, allocations: 3.938 kB / 412 MB, free: 2.848 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.1135, allocations: 4 kB / 412.1 MB, free: 2.844 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.0009063/0.1144, allocations: 0.5533 MB / 412.6 MB, free: 2.238 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.1144, allocations: 8.031 kB / 412.6 MB, free: 2.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.512e-05/0.1145, allocations: 36.75 kB / 412.6 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003952/0.1149, allocations: 249.3 kB / 412.9 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.115, allocations: 20.94 kB / 412.9 MB, free: 1.891 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.577e-05/0.115, allocations: 28.33 kB / 412.9 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004277/0.1155, allocations: 236 kB / 413.2 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.1155, allocations: 4.188 kB / 413.2 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/0.1155, allocations: 11.94 kB / 413.2 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.1155, allocations: 4 kB / 413.2 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002962/0.1159, allocations: 175.8 kB / 413.4 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.117, allocations: 0.7855 MB / 414.1 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005222/0.1175, allocations: 295.7 kB / 414.4 MB, free: 276 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002601/0.1178, allocations: 130.5 kB / 414.6 MB, free: 136 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.1178, allocations: 7.984 kB / 414.6 MB, free: 128 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.1179, allocations: 38.56 kB / 414.6 MB, free: 80 kB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.674e-06/0.1179, allocations: 0 / 414.6 MB, free: 80 kB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002872/0.1208, allocations: 1.953 MB / 416.6 MB, free: 13.87 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.008e-05/0.1209, allocations: 110.8 kB / 416.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002022/0.1211, allocations: 191.2 kB / 416.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/0.1211, allocations: 33.7 kB / 416.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.1212, allocations: 144.8 kB / 417 MB, free: 13.35 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/0.1214, allocations: 170.5 kB / 417.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.1215, allocations: 70.14 kB / 417.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.1217, allocations: 338.8 kB / 417.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.1218, allocations: 92.78 kB / 417.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.122, allocations: 162.3 kB / 417.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003996/0.1225, allocations: 277.2 kB / 418.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1225, allocations: 0 / 418.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005032/0.123, allocations: 338.9 kB / 418.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.123, allocations: 7.938 kB / 418.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.123, allocations: 8.094 kB / 418.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.123, allocations: 7.984 kB / 418.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003281/0.1234, allocations: 83.91 kB / 418.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.1234, allocations: 7.938 kB / 418.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.1235, allocations: 12 kB / 418.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.1235, allocations: 16 kB / 418.6 MB, free: 11.73 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.0001464/0.1237, allocations: 153.7 kB / 418.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.226e-05/0.1238, allocations: 39.73 kB / 418.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.52e-05/0.1239, allocations: 37.88 kB / 418.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.1239, allocations: 4 kB / 418.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.1239, allocations: 0 / 418.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.1239, allocations: 7.984 kB / 418.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00143/0.1254, allocations: 1.051 MB / 419.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.1254, allocations: 4 kB / 419.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003795/0.1258, allocations: 95.89 kB / 420 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.696e-06/0.1258, allocations: 7.938 kB / 420 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.1258, allocations: 8.281 kB / 420 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.614e-06/0.1258, allocations: 8 kB / 420 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.1258, allocations: 7.938 kB / 420 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008172/0.1267, allocations: 0.7175 MB / 420.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.349e-05/0.1267, allocations: 112.9 kB / 420.8 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.896e-05/0.1268, allocations: 8 kB / 420.8 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.127, allocations: 11.94 kB / 420.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.937e-05/0.1271, allocations: 47.83 kB / 420.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/0.1271, allocations: 12 kB / 420.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001127/0.1272, allocations: 136.5 kB / 421 MB, free: 9.113 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.326e-06/0.1272, allocations: 0 / 421 MB, free: 9.113 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004232/0.1277, allocations: 79.94 kB / 421.1 MB, free: 9.035 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.0001435/0.1278, allocations: 110.6 kB / 421.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004604/0.1283, allocations: 272.3 kB / 421.5 MB, free: 8.652 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1283, allocations: 0 / 421.5 MB, free: 8.652 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001976/0.1285, allocations: 139.8 kB / 421.6 MB, free: 8.516 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006968/0.1292, allocations: 80.45 kB / 421.7 MB, free: 8.445 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.1308, allocations: 0.9484 MB / 422.7 MB, free: 7.434 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.1312, allocations: 0.7683 MB / 423.4 MB, free: 6.641 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.684e-05/0.1313, allocations: 27.44 kB / 423.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1313, allocations: 4 kB / 423.5 MB, free: 6.609 MB / 350.1 MB Notification: Performance of Templates: time 0.005823/0.1371, allocations: 3.472 MB / 426.9 MB, free: 3.145 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 7.379740449017845]