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.001452/0.001452, allocations: 92.31 kB / 20.96 MB, free: 3.469 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.00155/0.00155, allocations: 157.7 kB / 24.27 MB, free: 168 kB / 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 1.478/1.478, allocations: 177.2 MB / 204.6 MB, free: 5.594 MB / 186.7 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 1.623e-06/1.623e-06, allocations: 0 / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.725e-05/2.887e-05, allocations: 2.312 kB / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.00417/0.004199, allocations: 2.287 MB / 274.6 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007078/0.004907, allocations: 239.1 kB / 274.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001949/0.005102, allocations: 7.938 kB / 274.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001767/0.005279, allocations: 43.58 kB / 274.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002354/0.005514, allocations: 87.2 kB / 275 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001895/0.005704, allocations: 55.92 kB / 275 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004057/0.006109, allocations: 302.4 kB / 275.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001822/0.006292, allocations: 65.98 kB / 275.4 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002868/0.006578, allocations: 171.6 kB / 275.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.00675, allocations: 87.72 kB / 275.6 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.124e-05/0.006801, allocations: 24 kB / 275.7 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.693e-05/0.006848, allocations: 20 kB / 275.7 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.304e-05/0.006921, allocations: 55.75 kB / 275.7 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.007057, allocations: 95.75 kB / 275.8 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004218/0.007479, allocations: 295 kB / 276.1 MB, free: 14.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.007481, allocations: 0 / 276.1 MB, free: 14.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.007482, allocations: 0 / 276.1 MB, free: 14.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.007494, allocations: 0 / 276.1 MB, free: 14.02 MB / 266.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.0009142/0.008408, allocations: 477.5 kB / 276.6 MB, free: 13.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.008449, allocations: 8.031 kB / 276.6 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.008562, allocations: 52.75 kB / 276.6 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003732/0.008935, allocations: 186.1 kB / 276.8 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.008964, allocations: 20.88 kB / 276.8 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.228e-05/0.009027, allocations: 28.33 kB / 276.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004586/0.009485, allocations: 247.1 kB / 277.1 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.009502, allocations: 192 / 277.1 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/0.009528, allocations: 12.38 kB / 277.1 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.009538, allocations: 8.375 kB / 277.1 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003201/0.009859, allocations: 155.8 kB / 277.3 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.011, allocations: 0.6682 MB / 277.9 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000587/0.01159, allocations: 275.7 kB / 278.2 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002873/0.01187, allocations: 122.5 kB / 278.3 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.0119, allocations: 11.94 kB / 278.3 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.01194, allocations: 38.5 kB / 278.4 MB, free: 11.58 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 1.303e-06/0.01194, allocations: 0 / 278.4 MB, free: 11.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.002967/0.01491, allocations: 1.513 MB / 279.9 MB, free: 9.922 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.602e-05/0.01499, allocations: 114.8 kB / 280 MB, free: 9.785 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.01518, allocations: 166.9 kB / 280.2 MB, free: 9.613 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/0.01522, allocations: 29.7 kB / 280.2 MB, free: 9.578 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.01534, allocations: 152.7 kB / 280.4 MB, free: 9.426 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001557/0.0155, allocations: 166.5 kB / 280.5 MB, free: 9.262 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.01562, allocations: 74.19 kB / 280.6 MB, free: 9.184 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002069/0.01582, allocations: 334.8 kB / 280.9 MB, free: 8.848 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.01602, allocations: 88.97 kB / 281 MB, free: 8.762 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002421/0.01626, allocations: 166.8 kB / 281.2 MB, free: 8.578 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004573/0.01672, allocations: 281.2 kB / 281.4 MB, free: 8.289 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.01672, allocations: 0 / 281.4 MB, free: 8.289 MB / 266.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006096/0.01733, allocations: 345.3 kB / 281.8 MB, free: 7.945 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.01735, allocations: 8 kB / 281.8 MB, free: 7.938 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.01736, allocations: 0 / 281.8 MB, free: 7.938 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.688e-05/0.01738, allocations: 11.92 kB / 281.8 MB, free: 7.926 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000371/0.01775, allocations: 91.91 kB / 281.9 MB, free: 7.836 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.554e-05/0.01777, allocations: 11.88 kB / 281.9 MB, free: 7.824 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.01789, allocations: 16.09 kB / 281.9 MB, free: 7.809 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/0.01791, allocations: 16 kB / 281.9 MB, free: 7.793 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.0001668/0.01808, allocations: 141.8 kB / 282.1 MB, free: 7.645 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.0182, allocations: 47.84 kB / 282.1 MB, free: 7.598 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.14e-05/0.01829, allocations: 33.81 kB / 282.1 MB, free: 7.562 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.01829, allocations: 4 kB / 282.1 MB, free: 7.559 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.0183, allocations: 0 / 282.1 MB, free: 7.559 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.01831, allocations: 11.92 kB / 282.2 MB, free: 7.547 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00159/0.0199, allocations: 0.9449 MB / 283.1 MB, free: 6.535 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/0.01991, allocations: 4 kB / 283.1 MB, free: 6.531 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003985/0.0203, allocations: 87.89 kB / 283.2 MB, free: 6.445 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.043e-05/0.02031, allocations: 8 kB / 283.2 MB, free: 6.438 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.262e-05/0.02035, allocations: 8 kB / 283.2 MB, free: 6.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.686e-06/0.02036, allocations: 12.16 kB / 283.2 MB, free: 6.418 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.02036, allocations: 8 kB / 283.2 MB, free: 6.41 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009766/0.02134, allocations: 0.7334 MB / 284 MB, free: 5.629 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.748e-05/0.02138, allocations: 27.92 kB / 284 MB, free: 5.602 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.884e-05/0.02142, allocations: 8 kB / 284 MB, free: 5.594 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/0.02167, allocations: 12 kB / 284 MB, free: 5.582 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.108e-05/0.02173, allocations: 39.81 kB / 284 MB, free: 5.543 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.54e-05/0.02175, allocations: 12 kB / 284.1 MB, free: 5.531 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001161/0.02187, allocations: 124.3 kB / 284.2 MB, free: 5.41 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02187, allocations: 0 / 284.2 MB, free: 5.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004584/0.02233, allocations: 80 kB / 284.3 MB, free: 5.332 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.0001478/0.02248, allocations: 107.1 kB / 284.4 MB, free: 5.223 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005031/0.02298, allocations: 264.3 kB / 284.6 MB, free: 4.965 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.02298, allocations: 0 / 284.6 MB, free: 4.965 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002214/0.0232, allocations: 136.4 kB / 284.8 MB, free: 4.832 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007295/0.02393, allocations: 72.53 kB / 284.8 MB, free: 4.762 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.02541, allocations: 0.7796 MB / 285.6 MB, free: 3.918 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.02563, allocations: 159.8 kB / 285.8 MB, free: 3.742 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001236/0.02576, allocations: 34.94 kB / 285.8 MB, free: 3.707 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.942e-05/0.02585, allocations: 28.5 kB / 285.8 MB, free: 3.68 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02585, allocations: 4 kB / 285.8 MB, free: 3.676 MB / 266.7 MB Notification: Performance of Templates: time 0.00771/0.03356, allocations: 2.947 MB / 288.8 MB, free: 0.7812 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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins/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: 4.283132305950858]