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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001368/0.001368, allocations: 117.6 kB / 18.5 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001772/0.001772, allocations: 201 kB / 21.45 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 230.2 MB / 254.5 MB, free: 15.43 MB / 206.1 MB " [Timeout remaining time 178] 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: 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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00178/0.00178, allocations: 63.89 kB / 373.8 MB, free: 9.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09914/0.1009, allocations: 53.32 MB / 427.1 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003501/0.1044, allocations: 2.442 MB / 429.6 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004608/0.1049, allocations: 243.1 kB / 429.8 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.53e-05/0.105, allocations: 4 kB / 429.8 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001414/0.1051, allocations: 43.58 kB / 429.9 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001456/0.1053, allocations: 83.27 kB / 430 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001812/0.1054, allocations: 55.86 kB / 430 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003352/0.1058, allocations: 294.6 kB / 430.3 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001816/0.106, allocations: 73.7 kB / 430.4 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.1061, allocations: 107.6 kB / 430.5 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.1062, allocations: 119.5 kB / 430.6 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.565e-05/0.1063, allocations: 20 kB / 430.6 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.711e-05/0.1063, allocations: 24 kB / 430.6 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.199e-05/0.1064, allocations: 55.83 kB / 430.7 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.1065, allocations: 131.3 kB / 430.8 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003146/0.1068, allocations: 290.7 kB / 431.1 MB, free: 0.543 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1068, allocations: 4 kB / 431.1 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1068, allocations: 0 / 431.1 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1068, allocations: 4 kB / 431.1 MB, free: 0.5352 MB / 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.0007858/0.1076, allocations: 0.5455 MB / 431.6 MB, free: 15.94 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.1076, allocations: 12.03 kB / 431.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.204e-05/0.1077, allocations: 28.75 kB / 431.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003308/0.108, allocations: 252.6 kB / 431.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.108, allocations: 20.94 kB / 432 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.899e-05/0.1081, allocations: 24.38 kB / 432 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004684/0.1086, allocations: 240 kB / 432.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.1086, allocations: 4.125 kB / 432.2 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.782e-05/0.1086, allocations: 15.94 kB / 432.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.198e-06/0.1086, allocations: 4 kB / 432.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002745/0.1089, allocations: 167.7 kB / 432.4 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.1099, allocations: 0.7972 MB / 433.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004896/0.1104, allocations: 279.8 kB / 433.5 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002389/0.1107, allocations: 132.7 kB / 433.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.1107, allocations: 7.984 kB / 433.6 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.1107, allocations: 34.56 kB / 433.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 1.392e-06/0.1107, allocations: 4 kB / 433.6 MB, free: 13.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.002833/0.1136, allocations: 1.946 MB / 435.6 MB, free: 11.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.527e-05/0.1136, allocations: 114.7 kB / 435.7 MB, free: 11.44 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001959/0.1138, allocations: 186.8 kB / 435.9 MB, free: 11.24 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.1139, allocations: 37.64 kB / 435.9 MB, free: 11.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.114, allocations: 132.9 kB / 436.1 MB, free: 11.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/0.1141, allocations: 178.5 kB / 436.2 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.1142, allocations: 70.14 kB / 436.3 MB, free: 10.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.1144, allocations: 338.8 kB / 436.6 MB, free: 10.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.1146, allocations: 92.78 kB / 436.7 MB, free: 10.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.1148, allocations: 158.4 kB / 436.9 MB, free: 10.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003858/0.1151, allocations: 274.6 kB / 437.1 MB, free: 9.926 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1152, allocations: 0 / 437.1 MB, free: 9.926 MB / 366.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005349/0.1157, allocations: 344.5 kB / 437.5 MB, free: 9.586 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.1157, allocations: 7.938 kB / 437.5 MB, free: 9.578 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.1157, allocations: 8.031 kB / 437.5 MB, free: 9.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/0.1157, allocations: 8 kB / 437.5 MB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003316/0.1161, allocations: 91.89 kB / 437.6 MB, free: 9.473 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.61e-05/0.1161, allocations: 7.938 kB / 437.6 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.1162, allocations: 8 kB / 437.6 MB, free: 9.457 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/0.1162, allocations: 16 kB / 437.6 MB, free: 9.441 MB / 366.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.0001609/0.1164, allocations: 145.8 kB / 437.8 MB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.824e-05/0.1165, allocations: 35.75 kB / 437.8 MB, free: 9.254 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.133e-05/0.1165, allocations: 37.86 kB / 437.8 MB, free: 9.219 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.1166, allocations: 8 kB / 437.8 MB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.1166, allocations: 0 / 437.8 MB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.1166, allocations: 8.031 kB / 437.9 MB, free: 9.203 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/0.1179, allocations: 1.058 MB / 438.9 MB, free: 8.062 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.1179, allocations: 4 kB / 438.9 MB, free: 8.059 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003622/0.1183, allocations: 91.89 kB / 439 MB, free: 7.969 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.027e-05/0.1183, allocations: 7.938 kB / 439 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/0.1183, allocations: 11.94 kB / 439 MB, free: 7.949 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.1183, allocations: 8.281 kB / 439 MB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.656e-06/0.1184, allocations: 7.938 kB / 439 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009/0.1193, allocations: 0.7134 MB / 439.8 MB, free: 7.176 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.539e-05/0.1193, allocations: 109 kB / 439.9 MB, free: 7.051 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.07e-05/0.1194, allocations: 8 kB / 439.9 MB, free: 7.043 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002159/0.1196, allocations: 12 kB / 439.9 MB, free: 7.031 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.638e-05/0.1197, allocations: 43.83 kB / 439.9 MB, free: 6.988 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.1197, allocations: 12.12 kB / 439.9 MB, free: 6.977 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001312/0.1198, allocations: 144.9 kB / 440.1 MB, free: 6.836 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1198, allocations: 0 / 440.1 MB, free: 6.836 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004173/0.1202, allocations: 72 kB / 440.1 MB, free: 6.766 MB / 366.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.0001505/0.1204, allocations: 111.1 kB / 440.3 MB, free: 6.645 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004282/0.1208, allocations: 255.9 kB / 440.5 MB, free: 6.395 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1208, allocations: 7.938 kB / 440.5 MB, free: 6.387 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001875/0.121, allocations: 127.8 kB / 440.6 MB, free: 6.262 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006675/0.1217, allocations: 74.39 kB / 440.7 MB, free: 6.191 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.1231, allocations: 0.9119 MB / 441.6 MB, free: 5.219 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004144/0.1235, allocations: 0.7683 MB / 442.4 MB, free: 4.426 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001191/0.1236, allocations: 38.95 kB / 442.4 MB, free: 4.383 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.617e-05/0.1237, allocations: 27.44 kB / 442.5 MB, free: 4.355 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1237, allocations: 0 / 442.5 MB, free: 4.355 MB / 366.1 MB Notification: Performance of Templates: time 0.007041/0.1307, allocations: 3.087 MB / 445.5 MB, free: 1.301 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.6036540772765875]