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.001069/0.001069, allocations: 95.61 kB / 17.3 MB, free: 6.391 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.001184/0.001184, allocations: 175.6 kB / 18.21 MB, free: 5.551 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.579/1.579, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004542/0.0004542, allocations: 8 kB / 281.4 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1218, allocations: 47.57 MB / 329 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002499/0.1244, allocations: 2.092 MB / 331 MB, free: 1.66 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004263/0.1248, allocations: 239.1 kB / 331.3 MB, free: 1.426 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.125, allocations: 7.938 kB / 331.3 MB, free: 1.418 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000127/0.1251, allocations: 27.77 kB / 331.3 MB, free: 1.391 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001516/0.1253, allocations: 71.39 kB / 331.4 MB, free: 1.32 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001917/0.1255, allocations: 43.97 kB / 331.4 MB, free: 1.277 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003054/0.1258, allocations: 282.6 kB / 331.7 MB, free: 1 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002127/0.126, allocations: 82.25 kB / 331.8 MB, free: 0.9219 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.1261, allocations: 95.58 kB / 331.9 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001625/0.1263, allocations: 107.5 kB / 332 MB, free: 0.7227 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.299e-05/0.1263, allocations: 12 kB / 332 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.487e-05/0.1264, allocations: 15.94 kB / 332 MB, free: 0.6953 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.022e-05/0.1264, allocations: 39.84 kB / 332 MB, free: 0.6562 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.1266, allocations: 153 kB / 332.2 MB, free: 0.5 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002441/0.1268, allocations: 267.2 kB / 332.5 MB, free: 244 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1268, allocations: 0 / 332.5 MB, free: 244 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1269, allocations: 0 / 332.5 MB, free: 244 kB / 270.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.1269, allocations: 0 / 332.5 MB, free: 244 kB / 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.0006933/0.1276, allocations: 0.4992 MB / 333 MB, free: 15.68 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.1276, allocations: 11.97 kB / 333 MB, free: 15.67 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.823e-05/0.1277, allocations: 32.59 kB / 333 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/0.128, allocations: 252.4 kB / 333.2 MB, free: 15.36 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.128, allocations: 16.94 kB / 333.3 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.95e-05/0.1281, allocations: 24.38 kB / 333.3 MB, free: 15.32 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003855/0.1285, allocations: 240 kB / 333.5 MB, free: 15.07 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.1285, allocations: 8.188 kB / 333.5 MB, free: 15.06 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.1285, allocations: 11.94 kB / 333.5 MB, free: 15.05 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.1285, allocations: 8 kB / 333.5 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000268/0.1288, allocations: 159.8 kB / 333.7 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.1299, allocations: 0.8047 MB / 334.5 MB, free: 14.02 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004715/0.1304, allocations: 299.6 kB / 334.8 MB, free: 13.7 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002351/0.1306, allocations: 130.5 kB / 334.9 MB, free: 13.56 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.1307, allocations: 4 kB / 334.9 MB, free: 13.56 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.1307, allocations: 38.5 kB / 335 MB, free: 13.51 MB / 286.1 MB Notification: Performance of pre-optimization done (n=33): time 1.764e-06/0.1307, allocations: 8 kB / 335 MB, free: 13.5 MB / 286.1 MB Notification: Performance of matching and sorting (n=45): time 0.002716/0.1334, allocations: 1.942 MB / 336.9 MB, free: 11.3 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.712e-05/0.1335, allocations: 110.8 kB / 337 MB, free: 11.17 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.1337, allocations: 186.6 kB / 337.2 MB, free: 10.97 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.1338, allocations: 33.7 kB / 337.2 MB, free: 10.93 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.1339, allocations: 148.6 kB / 337.4 MB, free: 10.78 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.134, allocations: 158.6 kB / 337.5 MB, free: 10.62 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.774e-05/0.1341, allocations: 45.69 kB / 337.6 MB, free: 10.57 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.1342, allocations: 334.8 kB / 337.9 MB, free: 10.23 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.1344, allocations: 88.84 kB / 338 MB, free: 10.14 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/0.1346, allocations: 158.3 kB / 338.2 MB, free: 9.969 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003699/0.135, allocations: 285 kB / 338.4 MB, free: 9.672 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.135, allocations: 0 / 338.4 MB, free: 9.672 MB / 286.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004908/0.1355, allocations: 333.1 kB / 338.8 MB, free: 9.34 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.1355, allocations: 12.03 kB / 338.8 MB, free: 9.328 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.1355, allocations: 4 kB / 338.8 MB, free: 9.324 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.1356, allocations: 7.938 kB / 338.8 MB, free: 9.316 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003302/0.1359, allocations: 91.84 kB / 338.9 MB, free: 9.227 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.1359, allocations: 4 kB / 338.9 MB, free: 9.223 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.136, allocations: 8 kB / 338.9 MB, free: 9.215 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.477e-05/0.136, allocations: 16 kB / 338.9 MB, free: 9.199 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.000189/0.1362, allocations: 157.6 kB / 339.1 MB, free: 9.035 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.1363, allocations: 35.56 kB / 339.1 MB, free: 9 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.508e-05/0.1365, allocations: 41.81 kB / 339.1 MB, free: 8.961 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.1365, allocations: 4 kB / 339.1 MB, free: 8.957 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/0.1365, allocations: 4 kB / 339.1 MB, free: 8.953 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.1365, allocations: 3.984 kB / 339.1 MB, free: 8.949 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/0.1379, allocations: 1.051 MB / 340.2 MB, free: 7.812 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.1379, allocations: 4 kB / 340.2 MB, free: 7.809 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003468/0.1383, allocations: 95.83 kB / 340.3 MB, free: 7.715 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.495e-06/0.1383, allocations: 7.938 kB / 340.3 MB, free: 7.707 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/0.1383, allocations: 8 kB / 340.3 MB, free: 7.699 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.062e-06/0.1383, allocations: 4 kB / 340.3 MB, free: 7.695 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1384, allocations: 4 kB / 340.3 MB, free: 7.691 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007796/0.1391, allocations: 0.7287 MB / 341 MB, free: 6.918 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.205e-05/0.1392, allocations: 104.9 kB / 341.1 MB, free: 6.797 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.112e-05/0.1393, allocations: 15.92 kB / 341.2 MB, free: 6.781 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.1395, allocations: 12 kB / 341.2 MB, free: 6.77 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.908e-05/0.1395, allocations: 31.91 kB / 341.2 MB, free: 6.738 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.1396, allocations: 16.12 kB / 341.2 MB, free: 6.723 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000129/0.1397, allocations: 144.2 kB / 341.4 MB, free: 6.582 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1397, allocations: 0 / 341.4 MB, free: 6.582 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004274/0.1401, allocations: 75.94 kB / 341.4 MB, free: 6.508 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.0001992/0.1403, allocations: 111.1 kB / 341.5 MB, free: 6.391 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004705/0.1408, allocations: 255.7 kB / 341.8 MB, free: 6.141 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1408, allocations: 192 / 341.8 MB, free: 6.141 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001997/0.141, allocations: 148.5 kB / 341.9 MB, free: 5.996 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007961/0.1418, allocations: 71.48 kB / 342 MB, free: 5.93 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.1434, allocations: 1.124 MB / 343.1 MB, free: 4.742 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000412/0.1438, allocations: 0.7684 MB / 343.9 MB, free: 3.945 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000122/0.1439, allocations: 42.94 kB / 343.9 MB, free: 3.906 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.158e-05/0.144, allocations: 27.44 kB / 344 MB, free: 3.879 MB / 286.1 MB Notification: Performance of SimCode: time 3.3e-07/0.144, allocations: 0 / 344 MB, free: 3.879 MB / 286.1 MB Notification: Performance of Templates: time 0.006133/0.1501, allocations: 2.805 MB / 346.8 MB, free: 1.078 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