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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007699/0.0007699, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003134/0.003134, allocations: 144.8 kB / 24.68 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8302/0.8302, allocations: 173.4 MB / 201.2 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] 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=1000,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=1000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 319.7 MB, free: 5.855 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.106e-05/2.28e-05, allocations: 8.75 kB / 319.7 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002488/0.002511, allocations: 2.249 MB / 321.9 MB, free: 3.582 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003563/0.002867, allocations: 239.1 kB / 322.2 MB, free: 3.348 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.715e-05/0.002955, allocations: 7.938 kB / 322.2 MB, free: 3.34 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001249/0.003079, allocations: 47.52 kB / 322.2 MB, free: 3.293 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.003189, allocations: 91.14 kB / 322.3 MB, free: 3.203 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001419/0.003331, allocations: 55.92 kB / 322.4 MB, free: 3.148 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001973/0.003528, allocations: 306.4 kB / 322.7 MB, free: 2.848 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.003682, allocations: 74.03 kB / 322.7 MB, free: 2.77 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.003818, allocations: 167.6 kB / 322.9 MB, free: 2.605 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.003928, allocations: 87.77 kB / 323 MB, free: 2.52 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.773e-05/0.003965, allocations: 24 kB / 323 MB, free: 2.496 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.554e-05/0.003991, allocations: 27.94 kB / 323 MB, free: 2.469 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.425e-05/0.004025, allocations: 47.83 kB / 323.1 MB, free: 2.422 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.236e-05/0.004088, allocations: 91.81 kB / 323.2 MB, free: 2.332 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.004325, allocations: 295 kB / 323.5 MB, free: 2.043 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.004327, allocations: 0 / 323.5 MB, free: 2.043 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.004328, allocations: 0 / 323.5 MB, free: 2.043 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.004333, allocations: 0 / 323.5 MB, free: 2.043 MB / 282.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.0005159/0.004849, allocations: 481.5 kB / 323.9 MB, free: 1.539 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.004889, allocations: 8.922 kB / 323.9 MB, free: 1.531 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.376e-05/0.004942, allocations: 32.75 kB / 324 MB, free: 1.5 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/0.00519, allocations: 182.1 kB / 324.1 MB, free: 1.293 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.005209, allocations: 20.88 kB / 324.2 MB, free: 1.273 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.951e-05/0.005248, allocations: 28.33 kB / 324.2 MB, free: 1.246 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002873/0.005536, allocations: 247.1 kB / 324.4 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.005554, allocations: 4.188 kB / 324.4 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.005572, allocations: 12.38 kB / 324.4 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.00558, allocations: 8.375 kB / 324.5 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001883/0.005769, allocations: 155.8 kB / 324.6 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000621/0.00639, allocations: 0.6681 MB / 325.3 MB, free: 108 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003734/0.006763, allocations: 272 kB / 325.5 MB, free: 15.81 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.006921, allocations: 126.5 kB / 325.7 MB, free: 15.68 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.006937, allocations: 7.938 kB / 325.7 MB, free: 15.67 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.006956, allocations: 46.5 kB / 325.7 MB, free: 15.61 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 1.212e-06/0.006958, allocations: 3.938 kB / 325.7 MB, free: 15.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=45): time 0.001534/0.008491, allocations: 1.497 MB / 327.2 MB, free: 13.97 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.008537, allocations: 114.7 kB / 327.3 MB, free: 13.83 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.973e-05/0.008637, allocations: 170.4 kB / 327.5 MB, free: 13.66 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.008652, allocations: 29.7 kB / 327.5 MB, free: 13.62 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.693e-05/0.008719, allocations: 144.8 kB / 327.7 MB, free: 13.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.128e-05/0.00879, allocations: 162.5 kB / 327.8 MB, free: 13.32 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.855e-05/0.008859, allocations: 74.19 kB / 327.9 MB, free: 13.24 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001955/0.009054, allocations: 338.8 kB / 328.2 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.966e-05/0.009154, allocations: 88.97 kB / 328.3 MB, free: 12.81 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.00928, allocations: 155 kB / 328.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002514/0.009532, allocations: 290 kB / 328.7 MB, free: 12.34 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.009533, allocations: 0 / 328.7 MB, free: 12.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003115/0.009844, allocations: 336.8 kB / 329.1 MB, free: 12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.009858, allocations: 8 kB / 329.1 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.009864, allocations: 0 / 329.1 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.009877, allocations: 4 kB / 329.1 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/0.01006, allocations: 99.83 kB / 329.2 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.01006, allocations: 3.938 kB / 329.2 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.16e-05/0.01012, allocations: 12 kB / 329.2 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.01013, allocations: 20.09 kB / 329.2 MB, free: 11.86 MB / 298.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 9.435e-05/0.01022, allocations: 149.7 kB / 329.4 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.33e-05/0.01027, allocations: 32.78 kB / 329.4 MB, free: 11.67 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.066e-05/0.01031, allocations: 33.81 kB / 329.4 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.01031, allocations: 4 kB / 329.4 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.01032, allocations: 0 / 329.4 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.01032, allocations: 11.92 kB / 329.4 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007845/0.01111, allocations: 0.9408 MB / 330.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.01111, allocations: 4 kB / 330.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/0.0113, allocations: 91.89 kB / 330.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.0113, allocations: 8 kB / 330.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.01131, allocations: 8 kB / 330.5 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.01132, allocations: 7.938 kB / 330.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.01132, allocations: 4 kB / 330.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004808/0.0118, allocations: 0.7181 MB / 331.2 MB, free: 9.73 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.163e-05/0.01182, allocations: 27.84 kB / 331.3 MB, free: 9.703 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.01185, allocations: 12.06 kB / 331.3 MB, free: 9.691 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.01195, allocations: 8 kB / 331.3 MB, free: 9.684 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.333e-05/0.01198, allocations: 39.81 kB / 331.3 MB, free: 9.645 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.01199, allocations: 16 kB / 331.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.35e-05/0.01205, allocations: 124.3 kB / 331.5 MB, free: 9.508 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01205, allocations: 0 / 331.5 MB, free: 9.508 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000256/0.0123, allocations: 72 kB / 331.5 MB, free: 9.438 MB / 298.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 8.776e-05/0.01239, allocations: 111.2 kB / 331.6 MB, free: 9.316 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002739/0.01267, allocations: 262.1 kB / 331.9 MB, free: 9.062 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.01267, allocations: 0 / 331.9 MB, free: 9.062 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.01279, allocations: 135.8 kB / 332 MB, free: 8.93 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.01321, allocations: 73.41 kB / 332.1 MB, free: 8.863 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000826/0.01404, allocations: 0.799 MB / 332.9 MB, free: 7.996 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.01415, allocations: 163.7 kB / 333 MB, free: 7.816 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.928e-05/0.01421, allocations: 32.5 kB / 333.1 MB, free: 7.785 MB / 298.7 MB Notification: Performance of SimCode: time 3.8e-07/0.01421, allocations: 0 / 333.1 MB, free: 7.785 MB / 298.7 MB Notification: Performance of Templates: time 0.003678/0.01789, allocations: 3.554 MB / 336.6 MB, free: 4.238 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.352353249676526]