Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 80.41 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 166.4 kB / 25.61 MB, free: 8.594 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9597/0.9597, allocations: 177.1 MB / 206 MB, free: 4.473 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 274.2 MB, free: 4.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.559e-05/2.754e-05, allocations: 6.25 kB / 274.2 MB, free: 4.441 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003934/0.003961, allocations: 2.397 MB / 276.6 MB, free: 2.047 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006809/0.004642, allocations: 240.6 kB / 276.8 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000154/0.004796, allocations: 4.938 kB / 276.8 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001644/0.004961, allocations: 47.5 kB / 276.9 MB, free: 1.762 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001861/0.005147, allocations: 89.25 kB / 276.9 MB, free: 1.676 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001809/0.005328, allocations: 60.69 kB / 277 MB, free: 1.617 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003247/0.005653, allocations: 306.4 kB / 277.3 MB, free: 1.316 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001922/0.005845, allocations: 70.69 kB / 277.4 MB, free: 1.246 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002123/0.006057, allocations: 167.7 kB / 277.5 MB, free: 1.082 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.006213, allocations: 78.19 kB / 277.6 MB, free: 1.008 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.273e-05/0.006255, allocations: 24 kB / 277.6 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.724e-05/0.006293, allocations: 23.94 kB / 277.7 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.284e-05/0.006346, allocations: 55.81 kB / 277.7 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.773e-05/0.006443, allocations: 91.81 kB / 277.8 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002842/0.006727, allocations: 195.2 kB / 278 MB, free: 0.625 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.00673, allocations: 7.938 kB / 278 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.006731, allocations: 0 / 278 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.006736, allocations: 0 / 278 MB, free: 0.6172 MB / 250.7 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.000688/0.007424, allocations: 0.5663 MB / 278.6 MB, free: 12 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.007467, allocations: 8.031 kB / 278.6 MB, free: 4 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/0.007574, allocations: 56.8 kB / 278.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.007834, allocations: 192.8 kB / 278.8 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.007858, allocations: 16.88 kB / 278.8 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.616e-05/0.007904, allocations: 28.33 kB / 278.9 MB, free: 15.69 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002768/0.00818, allocations: 191.6 kB / 279 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.008198, allocations: 192 / 279 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/0.00822, allocations: 12.38 kB / 279.1 MB, free: 15.47 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.00823, allocations: 4.375 kB / 279.1 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001544/0.008384, allocations: 91.77 kB / 279.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006381/0.009022, allocations: 0.7592 MB / 279.9 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002862/0.009308, allocations: 229.1 kB / 280.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.009417, allocations: 91 kB / 280.2 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.00943, allocations: 4 kB / 280.2 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.009457, allocations: 45.33 kB / 280.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 1.793e-06/0.009459, allocations: 0 / 280.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.001337/0.0108, allocations: 1.281 MB / 281.6 MB, free: 12.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.01085, allocations: 110.8 kB / 281.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.01095, allocations: 221.8 kB / 281.9 MB, free: 12.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.01097, allocations: 33.7 kB / 281.9 MB, free: 12.3 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.088e-05/0.01105, allocations: 191.5 kB / 282.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.978e-05/0.01113, allocations: 162.6 kB / 282.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.193e-05/0.0112, allocations: 83.81 kB / 282.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.01133, allocations: 0.5156 MB / 282.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.482e-05/0.0114, allocations: 40.97 kB / 282.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.01152, allocations: 134.7 kB / 283 MB, free: 11.14 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000237/0.01175, allocations: 211 kB / 283.2 MB, free: 10.91 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01176, allocations: 0 / 283.2 MB, free: 10.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0002618/0.01202, allocations: 254.5 kB / 283.5 MB, free: 10.65 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.01203, allocations: 8 kB / 283.5 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.01204, allocations: 8.031 kB / 283.5 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.01205, allocations: 4 kB / 283.5 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000187/0.01224, allocations: 91.89 kB / 283.6 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.01224, allocations: 4 kB / 283.6 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.654e-05/0.0123, allocations: 15.94 kB / 283.6 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.01231, allocations: 12 kB / 283.6 MB, free: 10.51 MB / 266.7 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.0001111/0.01242, allocations: 188.4 kB / 283.8 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.342e-05/0.01248, allocations: 35.86 kB / 283.8 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.005e-05/0.01253, allocations: 37.8 kB / 283.9 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.01254, allocations: 8 kB / 283.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.01254, allocations: 4 kB / 283.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.01255, allocations: 0 / 283.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007875/0.01333, allocations: 0.977 MB / 284.9 MB, free: 9.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-06/0.01334, allocations: 4 kB / 284.9 MB, free: 9.176 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/0.01354, allocations: 96.12 kB / 285 MB, free: 9.082 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/0.01355, allocations: 8 kB / 285 MB, free: 9.074 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.01356, allocations: 15.98 kB / 285 MB, free: 9.059 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.01357, allocations: 4 kB / 285 MB, free: 9.055 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.01357, allocations: 7.938 kB / 285 MB, free: 9.047 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004618/0.01403, allocations: 0.7585 MB / 285.8 MB, free: 8.227 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.61e-05/0.01406, allocations: 23.84 kB / 285.8 MB, free: 8.203 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.01408, allocations: 12 kB / 285.8 MB, free: 8.191 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.01419, allocations: 16 kB / 285.8 MB, free: 8.176 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.01423, allocations: 31.89 kB / 285.8 MB, free: 8.145 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.01424, allocations: 12 kB / 285.9 MB, free: 8.133 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.991e-05/0.01432, allocations: 160.7 kB / 286 MB, free: 7.977 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01432, allocations: 0 / 286 MB, free: 7.977 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002866/0.01461, allocations: 72 kB / 286.1 MB, free: 7.906 MB / 266.7 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.0001175/0.01472, allocations: 115.3 kB / 286.2 MB, free: 7.785 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002335/0.01496, allocations: 198.9 kB / 286.4 MB, free: 7.586 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.01496, allocations: 4 kB / 286.4 MB, free: 7.582 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.69e-05/0.01506, allocations: 111.4 kB / 286.5 MB, free: 7.469 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004138/0.01547, allocations: 55.97 kB / 286.6 MB, free: 7.414 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008261/0.0163, allocations: 0.8038 MB / 287.4 MB, free: 6.535 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.01e-05/0.01637, allocations: 93.28 kB / 287.4 MB, free: 6.422 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.899e-05/0.01645, allocations: 30.97 kB / 287.5 MB, free: 6.391 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.01658, allocations: 134.2 kB / 287.6 MB, free: 6.258 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01658, allocations: 0 / 287.6 MB, free: 6.258 MB / 266.7 MB Notification: Performance of Templates: time 0.005403/0.02198, allocations: 3.31 MB / 290.9 MB, free: 3.02 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.868512130808085]