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.001313/0.001313, allocations: 112.3 kB / 17.71 MB, free: 5.398 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.001272/0.001272, allocations: 191.8 kB / 18.64 MB, free: 4.48 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.3/1.3, allocations: 222.9 MB / 242.3 MB, free: 15.24 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001027/0.001027, allocations: 51.86 kB / 351.9 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2486, allocations: 49.43 MB / 401.3 MB, free: 9.027 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003439/0.2521, allocations: 2.427 MB / 403.8 MB, free: 6.664 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005655/0.2527, allocations: 239.1 kB / 404 MB, free: 6.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.2529, allocations: 7.938 kB / 404 MB, free: 6.422 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001893/0.2531, allocations: 43.58 kB / 404 MB, free: 6.379 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001531/0.2533, allocations: 83.27 kB / 404.1 MB, free: 6.297 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/0.2534, allocations: 59.92 kB / 404.2 MB, free: 6.238 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002769/0.2537, allocations: 294.6 kB / 404.5 MB, free: 5.949 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002067/0.2539, allocations: 101.7 kB / 404.6 MB, free: 5.848 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.2541, allocations: 111.6 kB / 404.7 MB, free: 5.738 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001643/0.2542, allocations: 119.5 kB / 404.8 MB, free: 5.621 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.686e-05/0.2543, allocations: 24 kB / 404.8 MB, free: 5.598 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.694e-05/0.2543, allocations: 20 kB / 404.8 MB, free: 5.578 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.259e-05/0.2544, allocations: 51.78 kB / 404.9 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.2545, allocations: 131.4 kB / 405 MB, free: 5.398 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002832/0.2548, allocations: 288.2 kB / 405.3 MB, free: 5.121 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2548, allocations: 0 / 405.3 MB, free: 5.121 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2548, allocations: 0 / 405.3 MB, free: 5.121 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.2548, allocations: 0 / 405.3 MB, free: 5.121 MB / 318.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.0008145/0.2556, allocations: 0.5536 MB / 405.9 MB, free: 4.516 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.2557, allocations: 8.031 kB / 405.9 MB, free: 4.508 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.921e-05/0.2558, allocations: 28.66 kB / 405.9 MB, free: 4.48 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003646/0.2561, allocations: 241.2 kB / 406.1 MB, free: 4.203 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.2562, allocations: 20.94 kB / 406.1 MB, free: 4.184 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.838e-05/0.2562, allocations: 36.31 kB / 406.2 MB, free: 4.148 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000375/0.2566, allocations: 236 kB / 406.4 MB, free: 3.906 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.2566, allocations: 192 / 406.4 MB, free: 3.906 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.852e-05/0.2567, allocations: 15.94 kB / 406.4 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.2567, allocations: 4 kB / 406.4 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002595/0.257, allocations: 167.8 kB / 406.6 MB, free: 3.723 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.258, allocations: 0.7969 MB / 407.4 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000478/0.2585, allocations: 291.7 kB / 407.7 MB, free: 2.555 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002348/0.2587, allocations: 134.5 kB / 407.8 MB, free: 2.414 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.2587, allocations: 4 kB / 407.8 MB, free: 2.41 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.2588, allocations: 38.78 kB / 407.8 MB, free: 2.363 MB / 318.1 MB Notification: Performance of pre-optimization done (n=33): time 1.563e-06/0.2588, allocations: 7.938 kB / 407.9 MB, free: 2.355 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.002522/0.2613, allocations: 1.947 MB / 409.8 MB, free: 148 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/0.2614, allocations: 106.8 kB / 409.9 MB, free: 16 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.2616, allocations: 183.8 kB / 410.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.2616, allocations: 37.7 kB / 410.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.091e-05/0.2617, allocations: 136.7 kB / 410.3 MB, free: 15.64 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.2618, allocations: 165.6 kB / 410.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.363e-05/0.2619, allocations: 78.05 kB / 410.5 MB, free: 15.4 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.262, allocations: 338.8 kB / 410.8 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.2622, allocations: 88.83 kB / 410.9 MB, free: 14.97 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001816/0.2624, allocations: 158.3 kB / 411.1 MB, free: 14.79 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003484/0.2627, allocations: 271.4 kB / 411.3 MB, free: 14.51 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2627, allocations: 0 / 411.3 MB, free: 14.51 MB / 334.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004652/0.2632, allocations: 342.3 kB / 411.7 MB, free: 14.17 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.2632, allocations: 12.88 kB / 411.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.2632, allocations: 0 / 411.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.2633, allocations: 8.094 kB / 411.7 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000325/0.2636, allocations: 95.89 kB / 411.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.2636, allocations: 7.984 kB / 411.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.2637, allocations: 12 kB / 411.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.2637, allocations: 12 kB / 411.8 MB, free: 14.02 MB / 334.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.0001346/0.2639, allocations: 154.3 kB / 412 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.969e-05/0.264, allocations: 31.56 kB / 412 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.2641, allocations: 41.86 kB / 412 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.2641, allocations: 11.94 kB / 412 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.2641, allocations: 4 kB / 412 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.2641, allocations: 3.984 kB / 412.1 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/0.2654, allocations: 1.049 MB / 413.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.2654, allocations: 4 kB / 413.1 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003568/0.2658, allocations: 83.91 kB / 413.2 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/0.2658, allocations: 11.97 kB / 413.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.2658, allocations: 23.98 kB / 413.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.2659, allocations: 4.281 kB / 413.2 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.2659, allocations: 11.94 kB / 413.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006989/0.2666, allocations: 0.713 MB / 414 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.253e-05/0.2666, allocations: 104.8 kB / 414.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.119e-05/0.2667, allocations: 16.06 kB / 414.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.2669, allocations: 8 kB / 414.1 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.433e-05/0.267, allocations: 31.91 kB / 414.1 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/0.267, allocations: 19.98 kB / 414.1 MB, free: 11.55 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.927e-05/0.2671, allocations: 132.5 kB / 414.3 MB, free: 11.42 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.2671, allocations: 0 / 414.3 MB, free: 11.42 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004276/0.2675, allocations: 72 kB / 414.3 MB, free: 11.35 MB / 334.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.0001723/0.2677, allocations: 119.3 kB / 414.4 MB, free: 11.22 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004559/0.2682, allocations: 274.8 kB / 414.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2682, allocations: 0 / 414.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001818/0.2684, allocations: 143.6 kB / 414.9 MB, free: 10.81 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006565/0.269, allocations: 66.98 kB / 414.9 MB, free: 10.75 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.2704, allocations: 0.9375 MB / 415.9 MB, free: 9.754 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.2708, allocations: 0.7683 MB / 416.6 MB, free: 8.961 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.83e-05/0.2708, allocations: 27.44 kB / 416.7 MB, free: 8.934 MB / 334.1 MB Notification: Performance of SimCode: time 3.8e-07/0.2708, allocations: 0 / 416.7 MB, free: 8.934 MB / 334.1 MB Notification: Performance of Templates: time 0.005133/0.276, allocations: 3.446 MB / 420.1 MB, free: 5.496 MB / 334.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins1/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