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.00111/0.00111, allocations: 85.17 kB / 21.5 MB, free: 2.992 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.001175/0.001175, allocations: 143.4 kB / 24.89 MB, free: 8.742 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.9857/0.9857, allocations: 173.4 MB / 201.5 MB, free: 8.277 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.583e-06/1.583e-06, allocations: 0 / 268.5 MB, free: 9.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.95e-05/2.108e-05, allocations: 6.25 kB / 268.5 MB, free: 9.762 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002426/0.002447, allocations: 2.453 MB / 270.9 MB, free: 7.312 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004184/0.002866, allocations: 254.5 kB / 271.2 MB, free: 7.066 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.402e-05/0.00296, allocations: 7.938 kB / 271.2 MB, free: 7.059 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001164/0.003076, allocations: 43.58 kB / 271.2 MB, free: 7.016 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000122/0.003198, allocations: 93.41 kB / 271.3 MB, free: 6.926 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001274/0.003325, allocations: 52.64 kB / 271.4 MB, free: 6.875 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.003525, allocations: 302.4 kB / 271.7 MB, free: 6.578 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.003659, allocations: 73.89 kB / 271.8 MB, free: 6.508 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.003794, allocations: 171.6 kB / 271.9 MB, free: 6.34 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.00391, allocations: 87.75 kB / 272 MB, free: 6.254 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.868e-05/0.003939, allocations: 24 kB / 272 MB, free: 6.23 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.359e-05/0.003963, allocations: 24 kB / 272.1 MB, free: 6.207 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.32e-05/0.003996, allocations: 49.55 kB / 272.1 MB, free: 6.16 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.383e-05/0.00406, allocations: 95.81 kB / 272.2 MB, free: 6.066 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.004246, allocations: 195.2 kB / 272.4 MB, free: 5.875 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.004249, allocations: 0 / 272.4 MB, free: 5.875 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.00425, allocations: 0 / 272.4 MB, free: 5.875 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.004255, allocations: 0.5 kB / 272.4 MB, free: 5.875 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.0005695/0.004824, allocations: 462 kB / 272.8 MB, free: 5.398 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.004856, allocations: 8.031 kB / 272.8 MB, free: 5.391 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.483e-05/0.004921, allocations: 36.91 kB / 272.9 MB, free: 5.355 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.005168, allocations: 170.1 kB / 273.1 MB, free: 5.16 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.005189, allocations: 16.88 kB / 273.1 MB, free: 5.145 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.619e-05/0.005235, allocations: 32.31 kB / 273.1 MB, free: 5.113 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002488/0.005484, allocations: 194.9 kB / 273.3 MB, free: 4.91 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.0055, allocations: 192 / 273.3 MB, free: 4.91 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.005516, allocations: 12.38 kB / 273.3 MB, free: 4.898 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.005524, allocations: 4.375 kB / 273.3 MB, free: 4.895 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.005649, allocations: 79.88 kB / 273.4 MB, free: 4.816 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006529/0.006302, allocations: 0.5429 MB / 273.9 MB, free: 4.25 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002948/0.006597, allocations: 195.7 kB / 274.1 MB, free: 4.031 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.204e-05/0.006689, allocations: 74.48 kB / 274.2 MB, free: 3.949 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.006705, allocations: 12 kB / 274.2 MB, free: 3.938 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.006727, allocations: 34.56 kB / 274.2 MB, free: 3.895 MB / 250.7 MB Notification: Performance of pre-optimization done (n=33): time 1.482e-06/0.006728, allocations: 4 kB / 274.2 MB, free: 3.891 MB / 250.7 MB Notification: Performance of matching and sorting (n=45): time 0.001403/0.008131, allocations: 1.273 MB / 275.5 MB, free: 2.469 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.008174, allocations: 106.8 kB / 275.6 MB, free: 2.34 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.883e-05/0.008272, allocations: 178.5 kB / 275.8 MB, free: 2.152 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.008287, allocations: 33.7 kB / 275.8 MB, free: 2.113 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.008404, allocations: 132.7 kB / 276 MB, free: 1.98 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.994e-05/0.008484, allocations: 174.5 kB / 276.1 MB, free: 1.809 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.24e-05/0.008546, allocations: 70.17 kB / 276.2 MB, free: 1.734 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.646e-05/0.008633, allocations: 346.7 kB / 276.5 MB, free: 1.387 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.184e-05/0.008675, allocations: 40.97 kB / 276.6 MB, free: 1.344 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.338e-05/0.008748, allocations: 102.9 kB / 276.7 MB, free: 1.223 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.008891, allocations: 182.1 kB / 276.9 MB, free: 1.027 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.008893, allocations: 0 / 276.9 MB, free: 1.027 MB / 250.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0001873/0.00908, allocations: 211.8 kB / 277.1 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.009093, allocations: 8 kB / 277.1 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.009097, allocations: 0 / 277.1 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.009111, allocations: 4 kB / 277.1 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.009317, allocations: 108 kB / 277.2 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.009322, allocations: 7.938 kB / 277.2 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.029e-05/0.009373, allocations: 15.98 kB / 277.2 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.009384, allocations: 8 kB / 277.2 MB, free: 0.668 MB / 250.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 6.926e-05/0.009454, allocations: 137.7 kB / 277.3 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.343e-05/0.009507, allocations: 31.97 kB / 277.4 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.14e-05/0.009548, allocations: 37.75 kB / 277.4 MB, free: 460 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.009551, allocations: 4 kB / 277.4 MB, free: 456 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.009555, allocations: 4 kB / 277.4 MB, free: 452 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.009561, allocations: 11.92 kB / 277.4 MB, free: 440 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007031/0.01026, allocations: 0.7189 MB / 278.1 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.01027, allocations: 4 kB / 278.2 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00022/0.01049, allocations: 110.1 kB / 278.3 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.01049, allocations: 8 kB / 278.3 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.01051, allocations: 12 kB / 278.3 MB, free: 15.53 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.207e-06/0.01051, allocations: 11.98 kB / 278.3 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.01051, allocations: 3.938 kB / 278.3 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003123/0.01083, allocations: 0.5533 MB / 278.8 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.115e-05/0.01085, allocations: 19.86 kB / 278.9 MB, free: 14.9 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.01087, allocations: 8 kB / 278.9 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.01098, allocations: 12 kB / 278.9 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.201e-05/0.01101, allocations: 43.88 kB / 278.9 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.01102, allocations: 12 kB / 278.9 MB, free: 14.82 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.016e-05/0.01105, allocations: 42.39 kB / 279 MB, free: 14.78 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01105, allocations: 0 / 279 MB, free: 14.78 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002254/0.01127, allocations: 72 kB / 279.1 MB, free: 14.71 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.336e-05/0.01136, allocations: 100.2 kB / 279.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001724/0.01153, allocations: 183.5 kB / 279.3 MB, free: 14.43 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.01153, allocations: 4.188 kB / 279.3 MB, free: 14.42 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.716e-05/0.01161, allocations: 104.6 kB / 279.4 MB, free: 14.32 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.01196, allocations: 69.09 kB / 279.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006459/0.01261, allocations: 0.6591 MB / 280.2 MB, free: 13.53 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.25e-05/0.01267, allocations: 97.28 kB / 280.3 MB, free: 13.42 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.333e-05/0.01274, allocations: 30.97 kB / 280.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.01287, allocations: 111.3 kB / 280.4 MB, free: 13.28 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01287, allocations: 0 / 280.4 MB, free: 13.28 MB / 266.7 MB Notification: Performance of Templates: time 0.004989/0.01786, allocations: 3.379 MB / 283.8 MB, free: 9.988 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 -s gbode -gbm=radauIIA3 -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.6400604411028326]