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.0008957/0.0009002, allocations: 92.03 kB / 16.95 MB, free: 6.441 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.0008465/0.0008465, allocations: 181.2 kB / 17.84 MB, free: 6.008 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.488/1.488, allocations: 205.4 MB / 224 MB, free: 13.15 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.0004342/0.0004342, allocations: 15.98 kB / 280.8 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1105, allocations: 47.59 MB / 328.4 MB, free: 4.078 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.00304/0.1136, allocations: 2.007 MB / 330.4 MB, free: 2.059 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.000439/0.1141, allocations: 227.2 kB / 330.6 MB, free: 1.836 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.1142, allocations: 8 kB / 330.6 MB, free: 1.828 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.1144, allocations: 35.7 kB / 330.6 MB, free: 1.793 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001293/0.1145, allocations: 67.44 kB / 330.7 MB, free: 1.727 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001681/0.1147, allocations: 43.95 kB / 330.7 MB, free: 1.684 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002564/0.1149, allocations: 266.7 kB / 331 MB, free: 1.422 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000197/0.1151, allocations: 77.67 kB / 331.1 MB, free: 1.348 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.59e-05/0.1153, allocations: 91.66 kB / 331.2 MB, free: 1.258 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001553/0.1154, allocations: 103.5 kB / 331.3 MB, free: 1.156 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.281e-05/0.1155, allocations: 12 kB / 331.3 MB, free: 1.145 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.554e-05/0.1155, allocations: 12 kB / 331.3 MB, free: 1.133 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.504e-05/0.1155, allocations: 39.84 kB / 331.3 MB, free: 1.094 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.446e-05/0.1156, allocations: 73.58 kB / 331.4 MB, free: 1.016 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002344/0.1159, allocations: 215.6 kB / 331.6 MB, free: 0.8047 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.1159, allocations: 0 / 331.6 MB, free: 0.8047 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1159, allocations: 0 / 331.6 MB, free: 0.8047 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.1159, allocations: 0 / 331.6 MB, free: 0.8047 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.0008206/0.1167, allocations: 0.499 MB / 332.1 MB, free: 264 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/0.1168, allocations: 12.03 kB / 332.1 MB, free: 252 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.108e-05/0.1169, allocations: 23.72 kB / 332.1 MB, free: 228 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/0.1172, allocations: 251.2 kB / 332.4 MB, free: 15.93 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/0.1173, allocations: 16.52 kB / 332.4 MB, free: 15.92 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.645e-05/0.1173, allocations: 31.98 kB / 332.4 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004133/0.1178, allocations: 231.5 kB / 332.7 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.1178, allocations: 11.92 kB / 332.7 MB, free: 15.63 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.675e-05/0.1178, allocations: 12 kB / 332.7 MB, free: 15.62 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.1178, allocations: 4 kB / 332.7 MB, free: 15.62 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002716/0.1181, allocations: 159.9 kB / 332.8 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.1192, allocations: 0.801 MB / 333.6 MB, free: 14.6 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004766/0.1197, allocations: 299.6 kB / 333.9 MB, free: 14.28 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002445/0.1199, allocations: 134.5 kB / 334.1 MB, free: 14.14 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.12, allocations: 4 kB / 334.1 MB, free: 14.14 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.12, allocations: 34.56 kB / 334.1 MB, free: 14.09 MB / 286.1 MB Notification: Performance of pre-optimization done (n=33): time 1.563e-06/0.12, allocations: 7.938 kB / 334.1 MB, free: 14.09 MB / 286.1 MB Notification: Performance of matching and sorting (n=45): time 0.002666/0.1227, allocations: 1.93 MB / 336 MB, free: 11.89 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.105e-05/0.1228, allocations: 110.8 kB / 336.2 MB, free: 11.76 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.123, allocations: 186.6 kB / 336.3 MB, free: 11.56 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.123, allocations: 37.7 kB / 336.4 MB, free: 11.52 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.741e-05/0.1231, allocations: 140.7 kB / 336.5 MB, free: 11.37 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.1232, allocations: 165.6 kB / 336.7 MB, free: 11.21 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.292e-05/0.1232, allocations: 4 kB / 336.7 MB, free: 11.2 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1234, allocations: 342.8 kB / 337 MB, free: 10.86 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.1235, allocations: 92.83 kB / 337.1 MB, free: 10.77 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/0.1237, allocations: 154.2 kB / 337.3 MB, free: 10.59 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.1239, allocations: 119 kB / 337.4 MB, free: 10.48 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1239, allocations: 0 / 337.4 MB, free: 10.48 MB / 286.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004915/0.1244, allocations: 338.2 kB / 337.7 MB, free: 10.14 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/0.1245, allocations: 11.98 kB / 337.7 MB, free: 10.13 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.1245, allocations: 0 / 337.7 MB, free: 10.13 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.1245, allocations: 4.938 kB / 337.7 MB, free: 10.13 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003176/0.1248, allocations: 96 kB / 337.8 MB, free: 10.04 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.1249, allocations: 3.938 kB / 337.8 MB, free: 10.03 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.349e-05/0.125, allocations: 8 kB / 337.8 MB, free: 10.02 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.621e-05/0.125, allocations: 16 kB / 337.8 MB, free: 10.01 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001552/0.1252, allocations: 153.7 kB / 338 MB, free: 9.848 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.3e-05/0.1253, allocations: 31.72 kB / 338 MB, free: 9.816 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.919e-05/0.1253, allocations: 33.88 kB / 338.1 MB, free: 9.785 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.858e-06/0.1254, allocations: 4 kB / 338.1 MB, free: 9.781 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.1254, allocations: 4 kB / 338.1 MB, free: 9.777 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.1254, allocations: 11.92 kB / 338.1 MB, free: 9.766 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001363/0.1268, allocations: 1.054 MB / 339.1 MB, free: 8.625 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.285e-05/0.1269, allocations: 7.953 kB / 339.1 MB, free: 8.617 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003337/0.1272, allocations: 92.17 kB / 339.2 MB, free: 8.527 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.1272, allocations: 4 kB / 339.2 MB, free: 8.523 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.386e-05/0.1273, allocations: 12 kB / 339.2 MB, free: 8.512 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.652e-06/0.1273, allocations: 7.938 kB / 339.2 MB, free: 8.504 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.1273, allocations: 4 kB / 339.3 MB, free: 8.5 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000791/0.1281, allocations: 0.7174 MB / 340 MB, free: 7.738 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.275e-05/0.1282, allocations: 108.8 kB / 340.1 MB, free: 7.613 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.945e-05/0.1282, allocations: 12.05 kB / 340.1 MB, free: 7.602 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001976/0.1284, allocations: 12 kB / 340.1 MB, free: 7.59 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.276e-05/0.1285, allocations: 31.91 kB / 340.1 MB, free: 7.559 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.1285, allocations: 16 kB / 340.1 MB, free: 7.543 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001154/0.1286, allocations: 132.5 kB / 340.3 MB, free: 7.414 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1286, allocations: 0 / 340.3 MB, free: 7.414 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004114/0.129, allocations: 76 kB / 340.3 MB, free: 7.34 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001619/0.1292, allocations: 127 kB / 340.5 MB, free: 7.207 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004378/0.1297, allocations: 251.7 kB / 340.7 MB, free: 6.961 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1297, allocations: 0 / 340.7 MB, free: 6.961 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001819/0.1299, allocations: 144.5 kB / 340.9 MB, free: 6.82 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006947/0.1306, allocations: 69.48 kB / 340.9 MB, free: 6.754 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.1321, allocations: 1.092 MB / 342 MB, free: 5.598 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.1325, allocations: 0.7724 MB / 342.8 MB, free: 4.797 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001213/0.1326, allocations: 42.94 kB / 342.8 MB, free: 4.758 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.917e-05/0.1327, allocations: 27.44 kB / 342.9 MB, free: 4.73 MB / 286.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1327, allocations: 0 / 342.9 MB, free: 4.73 MB / 286.1 MB Notification: Performance of Templates: time 0.006568/0.1392, allocations: 2.685 MB / 345.5 MB, free: 2.051 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