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.001661/0.001661, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.002147/0.002147, allocations: 213.3 kB / 24.48 MB, free: 3.941 MB / 14.72 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 2.044/2.044, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001583/0.001583, allocations: 51.86 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4365/0.438, allocations: 53.36 MB / 432.3 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003987/0.442, allocations: 2.273 MB / 434.6 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005968/0.4426, allocations: 243.1 kB / 434.8 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.4427, allocations: 7.938 kB / 434.8 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001641/0.4429, allocations: 43.58 kB / 434.9 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001682/0.4431, allocations: 83.27 kB / 435 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.4433, allocations: 51.94 kB / 435 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003531/0.4436, allocations: 294.6 kB / 435.3 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002035/0.4438, allocations: 72.94 kB / 435.4 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.444, allocations: 115.6 kB / 435.5 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001783/0.4442, allocations: 115.5 kB / 435.6 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.395e-05/0.4442, allocations: 27.94 kB / 435.6 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.571e-05/0.4443, allocations: 20 kB / 435.6 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.912e-05/0.4443, allocations: 55.81 kB / 435.7 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.4444, allocations: 107.5 kB / 435.8 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003649/0.4448, allocations: 298.4 kB / 436.1 MB, free: 2.957 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4448, allocations: 0 / 436.1 MB, free: 2.957 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4448, allocations: 0 / 436.1 MB, free: 2.957 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.4448, allocations: 4 kB / 436.1 MB, free: 2.953 MB / 334.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.0008336/0.4457, allocations: 477.5 kB / 436.6 MB, free: 2.453 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.4457, allocations: 8.031 kB / 436.6 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001766/0.4459, allocations: 32.75 kB / 436.6 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003856/0.4463, allocations: 186.7 kB / 436.8 MB, free: 2.203 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.4463, allocations: 24.88 kB / 436.8 MB, free: 2.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.727e-05/0.4464, allocations: 24.38 kB / 436.8 MB, free: 2.156 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004481/0.4468, allocations: 243.2 kB / 437.1 MB, free: 1.902 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.4468, allocations: 4.188 kB / 437.1 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.985e-05/0.4469, allocations: 11.94 kB / 437.1 MB, free: 1.887 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.4469, allocations: 8 kB / 437.1 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002994/0.4472, allocations: 155.8 kB / 437.2 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.4483, allocations: 0.6681 MB / 437.9 MB, free: 1.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005686/0.4488, allocations: 279.7 kB / 438.2 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002579/0.4491, allocations: 126.5 kB / 438.3 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.4491, allocations: 4 kB / 438.3 MB, free: 0.582 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.4492, allocations: 38.56 kB / 438.4 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.753e-06/0.4492, allocations: 224 / 438.4 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002812/0.452, allocations: 1.507 MB / 439.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.025e-05/0.4521, allocations: 106.8 kB / 440 MB, free: 14.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.4523, allocations: 170.9 kB / 440.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.4523, allocations: 33.7 kB / 440.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.4524, allocations: 148.8 kB / 440.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001498/0.4526, allocations: 166.6 kB / 440.5 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.4527, allocations: 74.09 kB / 440.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.4529, allocations: 334.8 kB / 440.9 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.453, allocations: 96.77 kB / 441 MB, free: 13.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000226/0.4533, allocations: 162.3 kB / 441.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000443/0.4537, allocations: 266.7 kB / 441.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4537, allocations: 0 / 441.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005626/0.4543, allocations: 348.4 kB / 441.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.4543, allocations: 8.938 kB / 441.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.4543, allocations: 0 / 441.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.604e-05/0.4543, allocations: 7.938 kB / 441.7 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003806/0.4547, allocations: 104 kB / 441.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.4547, allocations: 7.938 kB / 441.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.4548, allocations: 4 kB / 441.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/0.4549, allocations: 16 kB / 441.9 MB, free: 12.77 MB / 350.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.000173/0.455, allocations: 153.7 kB / 442 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.127e-05/0.4551, allocations: 31.81 kB / 442.1 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.4552, allocations: 41.73 kB / 442.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.4552, allocations: 7.938 kB / 442.1 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.4552, allocations: 0 / 442.1 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.4552, allocations: 4 kB / 442.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/0.4567, allocations: 0.937 MB / 443 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.4567, allocations: 4 kB / 443 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003913/0.4571, allocations: 87.89 kB / 443.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.638e-06/0.4571, allocations: 8.281 kB / 443.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.75e-05/0.4571, allocations: 16 kB / 443.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/0.4571, allocations: 7.938 kB / 443.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.136e-05/0.4572, allocations: 11.92 kB / 443.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008795/0.458, allocations: 0.7213 MB / 443.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.06e-05/0.4581, allocations: 23.86 kB / 443.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.873e-05/0.4581, allocations: 15.98 kB / 443.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.4584, allocations: 12 kB / 443.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.9e-05/0.4584, allocations: 27.95 kB / 444 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.594e-05/0.4584, allocations: 19.94 kB / 444 MB, free: 10.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001035/0.4585, allocations: 128.3 kB / 444.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4585, allocations: 0 / 444.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004683/0.459, allocations: 72 kB / 444.2 MB, free: 10.32 MB / 350.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.0001603/0.4592, allocations: 117.9 kB / 444.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005092/0.4597, allocations: 251.3 kB / 444.6 MB, free: 9.957 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4597, allocations: 3.938 kB / 444.6 MB, free: 9.953 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.4599, allocations: 140.2 kB / 444.7 MB, free: 9.816 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007044/0.4606, allocations: 80.72 kB / 444.8 MB, free: 9.738 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.4622, allocations: 0.9055 MB / 445.7 MB, free: 8.773 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000181/0.4624, allocations: 159.8 kB / 445.8 MB, free: 8.598 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001345/0.4625, allocations: 30.95 kB / 445.9 MB, free: 8.566 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.595e-05/0.4626, allocations: 31.44 kB / 445.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4626, allocations: 0 / 445.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of Templates: time 0.008084/0.4707, allocations: 3.352 MB / 449.2 MB, free: 5.234 MB / 350.1 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=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.738105083000846]