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.001097/0.001097, allocations: 107.4 kB / 17.16 MB, free: 6.305 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.001041/0.001041, allocations: 198 kB / 18.07 MB, free: 5.41 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.51/1.51, allocations: 205.1 MB / 223.9 MB, free: 12.38 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.001371/0.001371, allocations: 51.92 kB / 280 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1138, allocations: 46.63 MB / 326.6 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.004025/0.1179, allocations: 2.458 MB / 329.1 MB, free: 2.41 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007033/0.1186, allocations: 235.1 kB / 329.3 MB, free: 2.18 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002787/0.1189, allocations: 4 kB / 329.3 MB, free: 2.176 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002095/0.1192, allocations: 31.7 kB / 329.3 MB, free: 2.145 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002453/0.1194, allocations: 71.45 kB / 329.4 MB, free: 2.074 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.1197, allocations: 47.97 kB / 329.4 MB, free: 2.027 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004241/0.1201, allocations: 278.6 kB / 329.7 MB, free: 1.754 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002549/0.1204, allocations: 82.25 kB / 329.8 MB, free: 1.676 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002081/0.1206, allocations: 103.6 kB / 329.9 MB, free: 1.574 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002273/0.1208, allocations: 107.5 kB / 330 MB, free: 1.469 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.328e-05/0.1209, allocations: 16 kB / 330 MB, free: 1.453 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.236e-05/0.1209, allocations: 16 kB / 330 MB, free: 1.438 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.274e-05/0.121, allocations: 43.83 kB / 330.1 MB, free: 1.395 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001732/0.1212, allocations: 127.3 kB / 330.2 MB, free: 1.27 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003245/0.1215, allocations: 275.2 kB / 330.5 MB, free: 1 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1215, allocations: 0 / 330.5 MB, free: 1 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.577e-06/0.1215, allocations: 0 / 330.5 MB, free: 1 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.371e-05/0.1216, allocations: 11.94 kB / 330.5 MB, free: 0.9883 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.0008851/0.1225, allocations: 0.5419 MB / 331 MB, free: 404 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.1225, allocations: 12.03 kB / 331 MB, free: 392 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.935e-05/0.1226, allocations: 24.66 kB / 331.1 MB, free: 368 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.1229, allocations: 256.4 kB / 331.3 MB, free: 68 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.1229, allocations: 20.92 kB / 331.3 MB, free: 48 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.066e-05/0.123, allocations: 28.38 kB / 331.3 MB, free: 20 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000418/0.1234, allocations: 236.1 kB / 331.6 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/0.1234, allocations: 8.094 kB / 331.6 MB, free: 15.76 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/0.1235, allocations: 11.94 kB / 331.6 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.1235, allocations: 8 kB / 331.6 MB, free: 15.74 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000264/0.1238, allocations: 159.8 kB / 331.8 MB, free: 15.59 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.1248, allocations: 0.8008 MB / 332.6 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004925/0.1253, allocations: 287.7 kB / 332.8 MB, free: 14.42 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002423/0.1256, allocations: 130.5 kB / 333 MB, free: 14.29 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.1256, allocations: 8 kB / 333 MB, free: 14.28 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.1257, allocations: 38.56 kB / 333 MB, free: 14.23 MB / 286.1 MB Notification: Performance of pre-optimization done (n=33): time 1.713e-06/0.1257, allocations: 0 / 333 MB, free: 14.23 MB / 286.1 MB Notification: Performance of matching and sorting (n=45): time 0.002974/0.1286, allocations: 1.937 MB / 335 MB, free: 12.03 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.143e-05/0.1287, allocations: 115 kB / 335.1 MB, free: 11.89 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002554/0.129, allocations: 186.6 kB / 335.3 MB, free: 11.7 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.129, allocations: 45.58 kB / 335.3 MB, free: 11.64 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.1291, allocations: 140.6 kB / 335.4 MB, free: 11.5 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001977/0.1293, allocations: 161.7 kB / 335.6 MB, free: 11.34 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.1295, allocations: 74.12 kB / 335.7 MB, free: 11.26 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.1296, allocations: 334.8 kB / 336 MB, free: 10.92 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.1298, allocations: 84.84 kB / 336.1 MB, free: 10.84 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001903/0.13, allocations: 166.3 kB / 336.2 MB, free: 10.66 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000372/0.1304, allocations: 275.1 kB / 336.5 MB, free: 10.37 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1304, allocations: 8 kB / 336.5 MB, free: 10.36 MB / 286.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005294/0.1309, allocations: 341 kB / 336.8 MB, free: 10.02 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.547e-05/0.131, allocations: 11.94 kB / 336.9 MB, free: 10.01 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.131, allocations: 0 / 336.9 MB, free: 10.01 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.131, allocations: 4 kB / 336.9 MB, free: 10 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003197/0.1313, allocations: 87.91 kB / 336.9 MB, free: 9.918 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.1313, allocations: 11.92 kB / 337 MB, free: 9.906 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.1315, allocations: 12 kB / 337 MB, free: 9.895 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.848e-05/0.1315, allocations: 16 kB / 337 MB, free: 9.879 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.0001619/0.1317, allocations: 153.8 kB / 337.1 MB, free: 9.719 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.1318, allocations: 31.66 kB / 337.2 MB, free: 9.688 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.9e-05/0.1319, allocations: 37.86 kB / 337.2 MB, free: 9.652 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.1319, allocations: 4 kB / 337.2 MB, free: 9.648 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.1319, allocations: 4 kB / 337.2 MB, free: 9.645 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.1319, allocations: 0 / 337.2 MB, free: 9.645 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001571/0.1335, allocations: 1.05 MB / 338.3 MB, free: 8.508 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.1335, allocations: 4 kB / 338.3 MB, free: 8.504 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00037/0.1339, allocations: 87.89 kB / 338.4 MB, free: 8.418 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.958e-06/0.1339, allocations: 7.938 kB / 338.4 MB, free: 8.41 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.16e-05/0.1339, allocations: 16.05 kB / 338.4 MB, free: 8.395 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/0.134, allocations: 8.219 kB / 338.4 MB, free: 8.387 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/0.134, allocations: 15.97 kB / 338.4 MB, free: 8.371 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009467/0.1349, allocations: 0.7207 MB / 339.1 MB, free: 7.609 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.536e-05/0.1351, allocations: 100.8 kB / 339.2 MB, free: 7.492 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.943e-05/0.1351, allocations: 20 kB / 339.2 MB, free: 7.473 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.1353, allocations: 8 kB / 339.2 MB, free: 7.465 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.859e-05/0.1354, allocations: 36 kB / 339.3 MB, free: 7.43 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.1354, allocations: 15.94 kB / 339.3 MB, free: 7.414 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001234/0.1356, allocations: 140.2 kB / 339.4 MB, free: 7.277 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1356, allocations: 0 / 339.4 MB, free: 7.277 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004414/0.136, allocations: 75.94 kB / 339.5 MB, free: 7.203 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.0001375/0.1362, allocations: 111.2 kB / 339.6 MB, free: 7.086 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004565/0.1366, allocations: 266.8 kB / 339.9 MB, free: 6.828 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.1366, allocations: 0 / 339.9 MB, free: 6.828 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001926/0.1368, allocations: 143.7 kB / 340 MB, free: 6.688 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007471/0.1376, allocations: 60.72 kB / 340.1 MB, free: 6.629 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.1393, allocations: 1.027 MB / 341.1 MB, free: 5.535 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004645/0.1398, allocations: 0.7683 MB / 341.9 MB, free: 4.738 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001471/0.1399, allocations: 38.95 kB / 341.9 MB, free: 4.703 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.491e-05/0.14, allocations: 27.44 kB / 341.9 MB, free: 4.676 MB / 286.1 MB Notification: Performance of SimCode: time 3.41e-07/0.14, allocations: 0 / 341.9 MB, free: 4.676 MB / 286.1 MB Notification: Performance of Templates: time 0.007414/0.1474, allocations: 2.833 MB / 344.8 MB, free: 1.848 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