Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 111.9 kB / 17.28 MB, free: 6.219 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.001396/0.001396, allocations: 189.3 kB / 18.2 MB, free: 5.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.508/1.508, allocations: 205.1 MB / 224.1 MB, free: 12.44 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001108/0.001108, allocations: 43.94 kB / 280.1 MB, free: 3.508 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1035, allocations: 46.62 MB / 326.8 MB, free: 4.812 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003601/0.1071, allocations: 2.458 MB / 329.2 MB, free: 2.336 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004713/0.1076, allocations: 239.1 kB / 329.5 MB, free: 2.102 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.1077, allocations: 4 kB / 329.5 MB, free: 2.098 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001487/0.1079, allocations: 31.77 kB / 329.5 MB, free: 2.066 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001373/0.108, allocations: 75.38 kB / 329.6 MB, free: 1.992 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001582/0.1082, allocations: 47.97 kB / 329.6 MB, free: 1.945 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002941/0.1085, allocations: 294.6 kB / 329.9 MB, free: 1.656 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002116/0.1087, allocations: 93.67 kB / 330 MB, free: 1.566 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.1088, allocations: 107.6 kB / 330.1 MB, free: 1.461 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.109, allocations: 119.5 kB / 330.2 MB, free: 1.344 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.641e-05/0.109, allocations: 24 kB / 330.2 MB, free: 1.32 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.238e-05/0.1091, allocations: 28 kB / 330.3 MB, free: 1.293 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.144e-05/0.1091, allocations: 47.84 kB / 330.3 MB, free: 1.246 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.1093, allocations: 135.3 kB / 330.4 MB, free: 1.113 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003027/0.1096, allocations: 291.2 kB / 330.7 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1096, allocations: 3.938 kB / 330.7 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1096, allocations: 0 / 330.7 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.1096, allocations: 4 kB / 330.7 MB, free: 0.8203 MB / 270.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.0007875/0.1104, allocations: 0.5341 MB / 331.3 MB, free: 240 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.1104, allocations: 12.03 kB / 331.3 MB, free: 228 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.975e-05/0.1105, allocations: 24.66 kB / 331.3 MB, free: 204 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002689/0.1108, allocations: 252.5 kB / 331.6 MB, free: 15.91 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.1108, allocations: 16.94 kB / 331.6 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.255e-05/0.1109, allocations: 24.38 kB / 331.6 MB, free: 15.87 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003974/0.1113, allocations: 248 kB / 331.8 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.1113, allocations: 8.094 kB / 331.8 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.1113, allocations: 11.94 kB / 331.9 MB, free: 15.59 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.1113, allocations: 11.98 kB / 331.9 MB, free: 15.58 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002749/0.1116, allocations: 155.8 kB / 332 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.1127, allocations: 0.797 MB / 332.8 MB, free: 14.57 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004868/0.1132, allocations: 287.8 kB / 333.1 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002365/0.1134, allocations: 130.5 kB / 333.2 MB, free: 14.13 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/0.1134, allocations: 7.938 kB / 333.2 MB, free: 14.12 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.1135, allocations: 46.56 kB / 333.3 MB, free: 14.07 MB / 286.1 MB Notification: Performance of pre-optimization done (n=33): time 1.353e-06/0.1135, allocations: 0 / 333.3 MB, free: 14.07 MB / 286.1 MB Notification: Performance of matching and sorting (n=45): time 0.00254/0.116, allocations: 1.945 MB / 335.2 MB, free: 11.86 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.483e-05/0.1161, allocations: 106.8 kB / 335.3 MB, free: 11.73 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.1163, allocations: 190.6 kB / 335.5 MB, free: 11.53 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.1163, allocations: 37.64 kB / 335.6 MB, free: 11.48 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.058e-05/0.1164, allocations: 144.6 kB / 335.7 MB, free: 11.34 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.1165, allocations: 161.6 kB / 335.9 MB, free: 11.18 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.1166, allocations: 70.14 kB / 335.9 MB, free: 11.1 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.1168, allocations: 338.8 kB / 336.3 MB, free: 10.76 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.1169, allocations: 88.84 kB / 336.3 MB, free: 10.67 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.1171, allocations: 166.3 kB / 336.5 MB, free: 10.49 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003491/0.1175, allocations: 266 kB / 336.8 MB, free: 10.21 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.1175, allocations: 3.984 kB / 336.8 MB, free: 10.2 MB / 286.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004583/0.1179, allocations: 341 kB / 337.1 MB, free: 9.863 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.118, allocations: 15.38 kB / 337.1 MB, free: 9.852 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.118, allocations: 3.938 kB / 337.1 MB, free: 9.848 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.118, allocations: 4 kB / 337.1 MB, free: 9.844 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000317/0.1183, allocations: 91.89 kB / 337.2 MB, free: 9.754 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.1183, allocations: 0 / 337.2 MB, free: 9.754 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.1185, allocations: 12 kB / 337.2 MB, free: 9.742 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.1185, allocations: 16 kB / 337.2 MB, free: 9.727 MB / 286.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.0001339/0.1186, allocations: 153.7 kB / 337.4 MB, free: 9.566 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.483e-05/0.1187, allocations: 39.7 kB / 337.4 MB, free: 9.527 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.565e-05/0.1188, allocations: 33.88 kB / 337.5 MB, free: 9.496 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.1188, allocations: 4 kB / 337.5 MB, free: 9.492 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.1188, allocations: 4 kB / 337.5 MB, free: 9.488 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.1188, allocations: 3.984 kB / 337.5 MB, free: 9.484 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.1201, allocations: 1.058 MB / 338.5 MB, free: 8.34 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.1202, allocations: 7.938 kB / 338.5 MB, free: 8.332 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003487/0.1205, allocations: 87.89 kB / 338.6 MB, free: 8.246 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.776e-06/0.1205, allocations: 7.938 kB / 338.6 MB, free: 8.238 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/0.1206, allocations: 12 kB / 338.6 MB, free: 8.227 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.1206, allocations: 4 kB / 338.6 MB, free: 8.223 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/0.1206, allocations: 8.406 kB / 338.7 MB, free: 8.215 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007437/0.1213, allocations: 0.7249 MB / 339.4 MB, free: 7.449 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.563e-05/0.1214, allocations: 100.9 kB / 339.5 MB, free: 7.332 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.802e-05/0.1215, allocations: 19.88 kB / 339.5 MB, free: 7.312 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.1217, allocations: 12 kB / 339.5 MB, free: 7.301 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.004e-05/0.1217, allocations: 35.95 kB / 339.5 MB, free: 7.266 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.1217, allocations: 8 kB / 339.6 MB, free: 7.258 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001245/0.1219, allocations: 144.2 kB / 339.7 MB, free: 7.117 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1219, allocations: 3.938 kB / 339.7 MB, free: 7.113 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004024/0.1223, allocations: 75.94 kB / 339.8 MB, free: 7.039 MB / 286.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.0001267/0.1224, allocations: 108 kB / 339.9 MB, free: 6.926 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004564/0.1229, allocations: 283.8 kB / 340.2 MB, free: 6.648 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1229, allocations: 4 kB / 340.2 MB, free: 6.645 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.1231, allocations: 143.9 kB / 340.3 MB, free: 6.504 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007427/0.1238, allocations: 74.05 kB / 340.4 MB, free: 6.434 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.1252, allocations: 1.019 MB / 341.4 MB, free: 5.355 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.1256, allocations: 0.7796 MB / 342.2 MB, free: 4.543 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001122/0.1257, allocations: 30.97 kB / 342.2 MB, free: 4.516 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.191e-05/0.1258, allocations: 31.44 kB / 342.2 MB, free: 4.484 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1258, allocations: 0 / 342.2 MB, free: 4.484 MB / 286.1 MB Notification: Performance of Templates: time 0.006413/0.1322, allocations: 2.971 MB / 345.2 MB, free: 1.516 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches