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.001014/0.001015, allocations: 108 kB / 18.35 MB, free: 4.793 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.001003/0.001003, allocations: 192.2 kB / 19.29 MB, free: 3.867 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.248/1.248, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001159/0.001159, allocations: 47.92 kB / 282.1 MB, free: 2.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08914/0.09031, allocations: 46.63 MB / 328.7 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003137/0.09348, allocations: 2.411 MB / 331.1 MB, free: 1.324 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003982/0.09389, allocations: 239.1 kB / 331.4 MB, free: 1.09 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.094, allocations: 11.94 kB / 331.4 MB, free: 1.078 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.09415, allocations: 43.58 kB / 331.4 MB, free: 1.035 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001308/0.09429, allocations: 83.25 kB / 331.5 MB, free: 0.9531 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001479/0.09444, allocations: 51.94 kB / 331.6 MB, free: 0.9023 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000252/0.09471, allocations: 294.6 kB / 331.8 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001851/0.0949, allocations: 105.7 kB / 331.9 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.928e-05/0.09499, allocations: 103.6 kB / 332 MB, free: 420 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.09515, allocations: 119.5 kB / 332.2 MB, free: 300 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.463e-05/0.09519, allocations: 24 kB / 332.2 MB, free: 276 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.284e-05/0.09524, allocations: 24 kB / 332.2 MB, free: 252 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.693e-05/0.09528, allocations: 43.84 kB / 332.3 MB, free: 208 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.09539, allocations: 139.3 kB / 332.4 MB, free: 68 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002501/0.09564, allocations: 290.9 kB / 332.7 MB, free: 15.78 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.09566, allocations: 4 kB / 332.7 MB, free: 15.78 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.09566, allocations: 0 / 332.7 MB, free: 15.78 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.09567, allocations: 0 / 332.7 MB, free: 15.78 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.0006693/0.09635, allocations: 0.5419 MB / 333.2 MB, free: 15.18 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.09639, allocations: 8.031 kB / 333.2 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.298e-05/0.09645, allocations: 32.66 kB / 333.3 MB, free: 15.14 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.0967, allocations: 244.5 kB / 333.5 MB, free: 14.86 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.09672, allocations: 12.94 kB / 333.5 MB, free: 14.85 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.309e-05/0.09677, allocations: 28.38 kB / 333.5 MB, free: 14.82 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003458/0.09712, allocations: 240 kB / 333.8 MB, free: 14.58 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.09715, allocations: 8.094 kB / 333.8 MB, free: 14.57 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.09717, allocations: 11.94 kB / 333.8 MB, free: 14.56 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.09719, allocations: 12 kB / 333.8 MB, free: 14.55 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00026/0.09745, allocations: 167.8 kB / 334 MB, free: 14.38 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009069/0.09837, allocations: 0.7891 MB / 334.8 MB, free: 13.54 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004401/0.09882, allocations: 291.7 kB / 335 MB, free: 13.22 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002247/0.09906, allocations: 134.5 kB / 335.2 MB, free: 13.08 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.09909, allocations: 7.938 kB / 335.2 MB, free: 13.07 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.09912, allocations: 46.55 kB / 335.2 MB, free: 13.02 MB / 286.1 MB Notification: Performance of pre-optimization done (n=33): time 1.573e-06/0.09913, allocations: 0 / 335.2 MB, free: 13.02 MB / 286.1 MB Notification: Performance of matching and sorting (n=45): time 0.002352/0.1015, allocations: 1.935 MB / 337.2 MB, free: 10.82 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.1015, allocations: 106.8 kB / 337.3 MB, free: 10.69 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.1017, allocations: 187.8 kB / 337.4 MB, free: 10.49 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.1017, allocations: 33.7 kB / 337.5 MB, free: 10.45 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.746e-05/0.1018, allocations: 136.7 kB / 337.6 MB, free: 10.31 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.787e-05/0.1019, allocations: 173.5 kB / 337.8 MB, free: 10.14 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.218e-05/0.102, allocations: 70.14 kB / 337.9 MB, free: 10.06 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.1021, allocations: 338.8 kB / 338.2 MB, free: 9.723 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.1023, allocations: 88.83 kB / 338.3 MB, free: 9.637 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/0.1024, allocations: 158.3 kB / 338.4 MB, free: 9.461 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003433/0.1028, allocations: 274.3 kB / 338.7 MB, free: 9.176 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1028, allocations: 4 kB / 338.7 MB, free: 9.172 MB / 286.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004545/0.1033, allocations: 345 kB / 339 MB, free: 8.828 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.1033, allocations: 7.938 kB / 339 MB, free: 8.82 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1033, allocations: 7.938 kB / 339 MB, free: 8.812 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.1033, allocations: 0.9375 kB / 339 MB, free: 8.812 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003225/0.1036, allocations: 99.83 kB / 339.1 MB, free: 8.715 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.1037, allocations: 4 kB / 339.1 MB, free: 8.711 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.1038, allocations: 12 kB / 339.2 MB, free: 8.699 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.1038, allocations: 12 kB / 339.2 MB, free: 8.688 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.0001158/0.1039, allocations: 153.8 kB / 339.3 MB, free: 8.527 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.484e-05/0.104, allocations: 23.72 kB / 339.3 MB, free: 8.504 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.183e-05/0.1041, allocations: 45.8 kB / 339.4 MB, free: 8.461 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.1041, allocations: 3.984 kB / 339.4 MB, free: 8.457 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1041, allocations: 0 / 339.4 MB, free: 8.457 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.312e-05/0.1042, allocations: 104.8 kB / 339.5 MB, free: 8.336 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.602e-05/0.1042, allocations: 8 kB / 339.5 MB, free: 8.328 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/0.1044, allocations: 8 kB / 339.5 MB, free: 8.32 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.453e-05/0.1044, allocations: 19.97 kB / 339.5 MB, free: 8.301 MB / 286.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007487/0.1052, allocations: 0.5803 MB / 340.1 MB, free: 7.715 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006762/0.1059, allocations: 0.7596 MB / 340.9 MB, free: 6.941 MB / 286.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001684/0.1061, allocations: 122 kB / 341 MB, free: 6.824 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.868e-05/0.1061, allocations: 139.3 kB / 341.1 MB, free: 6.688 MB / 286.1 MB Notification: Performance of Backend: time 2.3e-07/0.1062, allocations: 0 / 341.1 MB, free: 6.688 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006703/0.1068, allocations: 250.3 kB / 341.4 MB, free: 6.438 MB / 286.1 MB Notification: Performance of SimCode: time 0.001277/0.1081, allocations: 1.252 MB / 342.6 MB, free: 5.137 MB / 286.1 MB Notification: Performance of Templates: time 0.006001/0.1141, allocations: 3.337 MB / 346 MB, free: 1.801 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches