Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0008678/0.0008678, allocations: 88.16 kB / 16.31 MB, free: 5.555 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.0008474/0.0008474, allocations: 180.4 kB / 17.21 MB, free: 5.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 223.2 MB / 241.2 MB, free: 336 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002301/0.0002302, allocations: 11.98 kB / 300.8 MB, free: 6.453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09059/0.09084, allocations: 50.41 MB / 351.2 MB, free: 4.031 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002126/0.093, allocations: 2.011 MB / 353.3 MB, free: 2.008 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004106/0.09343, allocations: 235.1 kB / 353.5 MB, free: 1.777 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.09355, allocations: 7.938 kB / 353.5 MB, free: 1.77 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001131/0.09367, allocations: 31.77 kB / 353.5 MB, free: 1.738 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.0938, allocations: 79.38 kB / 353.6 MB, free: 1.66 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001591/0.09397, allocations: 35.97 kB / 353.6 MB, free: 1.625 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002746/0.09425, allocations: 270.7 kB / 353.9 MB, free: 1.359 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001903/0.09445, allocations: 69.67 kB / 354 MB, free: 1.289 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.628e-05/0.09456, allocations: 91.66 kB / 354.1 MB, free: 1.199 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.09472, allocations: 107.5 kB / 354.2 MB, free: 1.094 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.54e-05/0.09476, allocations: 12 kB / 354.2 MB, free: 1.082 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.718e-05/0.0948, allocations: 16 kB / 354.2 MB, free: 1.066 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.678e-05/0.09485, allocations: 35.84 kB / 354.2 MB, free: 1.031 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.302e-05/0.09492, allocations: 73.58 kB / 354.3 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002141/0.09514, allocations: 211.7 kB / 354.5 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.09515, allocations: 0 / 354.5 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.09516, allocations: 0 / 354.5 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.09517, allocations: 0 / 354.5 MB, free: 0.7461 MB / 286.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.0007088/0.09588, allocations: 0.5028 MB / 355 MB, free: 200 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.09593, allocations: 8.031 kB / 355 MB, free: 192 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.37e-05/0.09601, allocations: 35.58 kB / 355 MB, free: 156 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.09628, allocations: 236.3 kB / 355.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.09631, allocations: 20.56 kB / 355.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.428e-05/0.09636, allocations: 24 kB / 355.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003808/0.09675, allocations: 247.4 kB / 355.6 MB, free: 15.58 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.09677, allocations: 3.906 kB / 355.6 MB, free: 15.58 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.0968, allocations: 12 kB / 355.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.09682, allocations: 7.953 kB / 355.6 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002676/0.09709, allocations: 167.8 kB / 355.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009941/0.09809, allocations: 0.801 MB / 356.5 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004556/0.09856, allocations: 287.7 kB / 356.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000224/0.09879, allocations: 134.5 kB / 357 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.09883, allocations: 7.938 kB / 357 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.09886, allocations: 42.8 kB / 357 MB, free: 14.03 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.453e-06/0.09887, allocations: 0 / 357 MB, free: 14.03 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.002491/0.1014, allocations: 1.939 MB / 358.9 MB, free: 11.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.212e-05/0.1015, allocations: 110.8 kB / 359.1 MB, free: 11.69 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.1016, allocations: 186.5 kB / 359.2 MB, free: 11.49 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.1017, allocations: 33.7 kB / 359.3 MB, free: 11.45 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.749e-05/0.1017, allocations: 136.8 kB / 359.4 MB, free: 11.31 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.1019, allocations: 165.6 kB / 359.6 MB, free: 11.15 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.45e-05/0.1019, allocations: 8 kB / 359.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.102, allocations: 334.8 kB / 359.9 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.1021, allocations: 92.84 kB / 360 MB, free: 10.71 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.1023, allocations: 159.2 kB / 360.1 MB, free: 10.54 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.1025, allocations: 110.8 kB / 360.3 MB, free: 10.44 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1025, allocations: 4 kB / 360.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004381/0.103, allocations: 341 kB / 360.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.103, allocations: 4 kB / 360.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.103, allocations: 4 kB / 360.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.103, allocations: 7.953 kB / 360.6 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003064/0.1033, allocations: 95.83 kB / 360.7 MB, free: 9.984 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.1033, allocations: 4 kB / 360.7 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.392e-05/0.1034, allocations: 8 kB / 360.7 MB, free: 9.973 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.1035, allocations: 19.94 kB / 360.7 MB, free: 9.953 MB / 302.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.0001255/0.1036, allocations: 153.8 kB / 360.9 MB, free: 9.793 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.016e-05/0.1037, allocations: 31.62 kB / 360.9 MB, free: 9.762 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.031e-05/0.1038, allocations: 37.86 kB / 361 MB, free: 9.73 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.1038, allocations: 7.953 kB / 361 MB, free: 9.723 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1038, allocations: 0 / 361 MB, free: 9.723 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.1038, allocations: 3.984 kB / 361 MB, free: 9.719 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/0.1051, allocations: 1.062 MB / 362 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1051, allocations: 0 / 362 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003601/0.1054, allocations: 95.83 kB / 362.1 MB, free: 8.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.1055, allocations: 4 kB / 362.1 MB, free: 8.477 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.1055, allocations: 8 kB / 362.1 MB, free: 8.469 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.603e-06/0.1055, allocations: 8 kB / 362.1 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.1055, allocations: 288 / 362.1 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006998/0.1062, allocations: 0.7286 MB / 362.9 MB, free: 7.688 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.964e-05/0.1063, allocations: 100.9 kB / 363 MB, free: 7.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.933e-05/0.1063, allocations: 12.12 kB / 363 MB, free: 7.559 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001976/0.1065, allocations: 16 kB / 363 MB, free: 7.543 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.1066, allocations: 39.84 kB / 363 MB, free: 7.504 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.1066, allocations: 16 kB / 363 MB, free: 7.488 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.819e-05/0.1067, allocations: 135.2 kB / 363.2 MB, free: 7.355 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1067, allocations: 0 / 363.2 MB, free: 7.355 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004098/0.1071, allocations: 72 kB / 363.3 MB, free: 7.285 MB / 302.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.0001179/0.1073, allocations: 115.1 kB / 363.4 MB, free: 7.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003963/0.1077, allocations: 259.7 kB / 363.6 MB, free: 6.906 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1077, allocations: 0 / 363.6 MB, free: 6.906 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001911/0.1079, allocations: 143.7 kB / 363.8 MB, free: 6.766 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006835/0.1086, allocations: 76.41 kB / 363.8 MB, free: 6.695 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.11, allocations: 1.092 MB / 364.9 MB, free: 5.543 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.1103, allocations: 0.7647 MB / 365.7 MB, free: 4.75 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000117/0.1105, allocations: 42.94 kB / 365.7 MB, free: 4.711 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.71e-05/0.1105, allocations: 31.38 kB / 365.8 MB, free: 4.68 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1105, allocations: 0 / 365.8 MB, free: 4.68 MB / 302.1 MB Notification: Performance of Templates: time 0.005924/0.1165, allocations: 2.693 MB / 368.5 MB, free: 2.012 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches