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.0009553/0.0009553, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.0009848/0.0009848, allocations: 149.7 kB / 24.9 MB, free: 8.738 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.9318/0.9318, allocations: 173.4 MB / 201.5 MB, free: 8.77 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.733e-06/1.733e-06, allocations: 0 / 268.5 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.527e-05/1.7e-05, allocations: 2.312 kB / 268.5 MB, free: 6.051 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002309/0.002326, allocations: 2.392 MB / 270.8 MB, free: 3.645 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004004/0.002726, allocations: 254.9 kB / 271.1 MB, free: 3.395 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.983e-05/0.002816, allocations: 7.938 kB / 271.1 MB, free: 3.387 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.002941, allocations: 51.5 kB / 271.2 MB, free: 3.336 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.003056, allocations: 83.2 kB / 271.2 MB, free: 3.254 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001335/0.00319, allocations: 59.91 kB / 271.3 MB, free: 3.195 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001986/0.003388, allocations: 306.4 kB / 271.6 MB, free: 2.895 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.00352, allocations: 68.02 kB / 271.7 MB, free: 2.828 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.003651, allocations: 167.6 kB / 271.8 MB, free: 2.664 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.003771, allocations: 87.72 kB / 271.9 MB, free: 2.578 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.075e-05/0.003801, allocations: 20 kB / 271.9 MB, free: 2.559 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.452e-05/0.003826, allocations: 24 kB / 272 MB, free: 2.535 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.819e-05/0.003864, allocations: 55.81 kB / 272 MB, free: 2.48 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.581e-05/0.00393, allocations: 91.75 kB / 272.1 MB, free: 2.391 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.004119, allocations: 191.2 kB / 272.3 MB, free: 2.203 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.004121, allocations: 0 / 272.3 MB, free: 2.203 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.92e-07/0.004122, allocations: 0 / 272.3 MB, free: 2.203 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.004126, allocations: 4 kB / 272.3 MB, free: 2.199 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.0004355/0.004561, allocations: 452.2 kB / 272.7 MB, free: 1.73 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.004592, allocations: 12.91 kB / 272.7 MB, free: 1.719 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.624e-05/0.004638, allocations: 40.91 kB / 272.8 MB, free: 1.68 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.004803, allocations: 174 kB / 273 MB, free: 1.48 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.00482, allocations: 28.81 kB / 273 MB, free: 1.453 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.322e-05/0.004853, allocations: 24.38 kB / 273 MB, free: 1.43 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.005027, allocations: 191 kB / 273.2 MB, free: 1.227 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.005039, allocations: 4.125 kB / 273.2 MB, free: 1.223 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.005052, allocations: 12.38 kB / 273.2 MB, free: 1.211 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.005058, allocations: 4.375 kB / 273.2 MB, free: 1.207 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.94e-05/0.005148, allocations: 75.83 kB / 273.3 MB, free: 1.133 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005131/0.005661, allocations: 0.5507 MB / 273.8 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002344/0.005895, allocations: 199.5 kB / 274 MB, free: 344 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002208/0.006116, allocations: 86.28 kB / 274.1 MB, free: 252 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.00613, allocations: 4 kB / 274.1 MB, free: 248 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.006148, allocations: 38.56 kB / 274.2 MB, free: 200 kB / 250.7 MB Notification: Performance of pre-optimization done (n=33): time 1.473e-06/0.00615, allocations: 0 / 274.2 MB, free: 200 kB / 250.7 MB Notification: Performance of matching and sorting (n=45): time 0.001298/0.007448, allocations: 1.278 MB / 275.4 MB, free: 14.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.007497, allocations: 114.8 kB / 275.5 MB, free: 14.63 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.193e-05/0.007579, allocations: 162.6 kB / 275.7 MB, free: 14.46 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.007595, allocations: 33.7 kB / 275.7 MB, free: 14.42 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.177e-05/0.007647, allocations: 136.7 kB / 275.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.483e-05/0.007722, allocations: 174.5 kB / 276 MB, free: 14.11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.477e-05/0.007786, allocations: 78.14 kB / 276.1 MB, free: 14.03 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.125e-05/0.007868, allocations: 346.7 kB / 276.5 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.06e-05/0.007908, allocations: 32.98 kB / 276.5 MB, free: 13.65 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.293e-05/0.007981, allocations: 106.9 kB / 276.6 MB, free: 13.52 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.008115, allocations: 169.8 kB / 276.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.008117, allocations: 0 / 276.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0001775/0.008294, allocations: 218.9 kB / 277 MB, free: 13.12 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.00831, allocations: 8 kB / 277 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.008315, allocations: 0 / 277 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.008328, allocations: 7.984 kB / 277 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.0085, allocations: 91.91 kB / 277.1 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.008504, allocations: 4 kB / 277.1 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.106e-05/0.008555, allocations: 12 kB / 277.1 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.008567, allocations: 15.94 kB / 277.1 MB, free: 12.98 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 7.338e-05/0.00864, allocations: 133.8 kB / 277.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.448e-05/0.008695, allocations: 35.97 kB / 277.3 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.156e-05/0.008736, allocations: 37.8 kB / 277.3 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.008739, allocations: 4 kB / 277.3 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.008741, allocations: 0 / 277.3 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.008746, allocations: 4 kB / 277.3 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006044/0.009351, allocations: 0.7267 MB / 278 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.009354, allocations: 7.938 kB / 278.1 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/0.009536, allocations: 87.89 kB / 278.1 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.00954, allocations: 4 kB / 278.1 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.009552, allocations: 12 kB / 278.2 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.009556, allocations: 4 kB / 278.2 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.009559, allocations: 7.938 kB / 278.2 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003106/0.00987, allocations: 0.5504 MB / 278.7 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.482e-05/0.009894, allocations: 39.86 kB / 278.8 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.009915, allocations: 12 kB / 278.8 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.01002, allocations: 8 kB / 278.8 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.776e-05/0.01004, allocations: 31.89 kB / 278.8 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.01005, allocations: 15.98 kB / 278.8 MB, free: 11.15 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.554e-05/0.01008, allocations: 33.89 kB / 278.9 MB, free: 11.12 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01008, allocations: 4 kB / 278.9 MB, free: 11.11 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002348/0.01031, allocations: 68 kB / 278.9 MB, free: 11.05 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 8.565e-05/0.0104, allocations: 104.3 kB / 279 MB, free: 10.94 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001741/0.01057, allocations: 170.4 kB / 279.2 MB, free: 10.77 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.01058, allocations: 4 kB / 279.2 MB, free: 10.77 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.221e-05/0.01066, allocations: 112.5 kB / 279.3 MB, free: 10.65 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.01101, allocations: 77.75 kB / 279.4 MB, free: 10.58 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006386/0.01165, allocations: 0.6467 MB / 280 MB, free: 9.875 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.059e-05/0.01171, allocations: 97.28 kB / 280.1 MB, free: 9.762 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.237e-05/0.01179, allocations: 38.94 kB / 280.2 MB, free: 9.723 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.0119, allocations: 111.3 kB / 280.3 MB, free: 9.613 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.0119, allocations: 0 / 280.3 MB, free: 9.613 MB / 266.7 MB Notification: Performance of Templates: time 0.004823/0.01673, allocations: 3.25 MB / 283.5 MB, free: 6.43 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 240] 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","",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.632792725227773]