Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001754/0.001754, allocations: 116.3 kB / 18.5 MB, free: 4.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001971/0.001971, allocations: 201 kB / 21.45 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.537/1.537, allocations: 230.2 MB / 254.5 MB, free: 15.29 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator") translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 67.83 kB / 373.8 MB, free: 10.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1272, allocations: 53.32 MB / 427.1 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.004516/0.1317, allocations: 2.463 MB / 429.6 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001531/0.1332, allocations: 0.6544 MB / 430.3 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002629/0.1335, allocations: 4 kB / 430.3 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002331/0.1337, allocations: 39.59 kB / 430.3 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002246/0.1339, allocations: 71.34 kB / 430.4 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003798/0.1343, allocations: 75.83 kB / 430.4 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004545/0.1348, allocations: 250.9 kB / 430.7 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002274/0.135, allocations: 73.34 kB / 430.8 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002848/0.1353, allocations: 115.6 kB / 430.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002325/0.1355, allocations: 111.5 kB / 431 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.318e-05/0.1356, allocations: 20 kB / 431 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.523e-05/0.1357, allocations: 24 kB / 431 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.469e-05/0.1357, allocations: 51.78 kB / 431.1 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.1358, allocations: 115.4 kB / 431.2 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003721/0.1362, allocations: 258.9 kB / 431.4 MB, free: 312 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.1362, allocations: 0 / 431.4 MB, free: 312 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1362, allocations: 3.938 kB / 431.4 MB, free: 308 kB / 350.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.1362, allocations: 0 / 431.4 MB, free: 308 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.2125/0.3488, allocations: 0.5319 MB / 432 MB, free: 11.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.3488, allocations: 9.594 kB / 432 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002602/0.3491, allocations: 47.27 kB / 432 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003282/0.3494, allocations: 249.5 kB / 432.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.3494, allocations: 12.47 kB / 432.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.82e-05/0.3495, allocations: 25.17 kB / 432.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004201/0.3499, allocations: 220.7 kB / 432.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.3499, allocations: 2.859 kB / 432.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.3499, allocations: 10.03 kB / 432.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.3499, allocations: 7.844 kB / 432.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003291/0.3503, allocations: 142.5 kB / 432.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009579/0.3512, allocations: 0.7863 MB / 433.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003453/0.3516, allocations: 190.3 kB / 433.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001999/0.3518, allocations: 100.1 kB / 433.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.3518, allocations: 3.578 kB / 433.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/0.3518, allocations: 34.59 kB / 433.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.353e-06/0.3518, allocations: 0.5 kB / 433.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001332/0.3531, allocations: 0.8699 MB / 434.7 MB, free: 10.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.3532, allocations: 80.39 kB / 434.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.3533, allocations: 181.4 kB / 434.9 MB, free: 9.992 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.3533, allocations: 33.11 kB / 434.9 MB, free: 9.961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.164e-05/0.3534, allocations: 137.6 kB / 435.1 MB, free: 9.863 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.644e-05/0.3534, allocations: 101 kB / 435.2 MB, free: 9.797 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.04e-05/0.3535, allocations: 45.33 kB / 435.2 MB, free: 9.781 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.844e-05/0.3536, allocations: 334 kB / 435.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.3537, allocations: 66.39 kB / 435.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.3539, allocations: 112.7 kB / 435.7 MB, free: 9.426 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003182/0.3542, allocations: 194.8 kB / 435.9 MB, free: 9.383 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3542, allocations: 0 / 435.9 MB, free: 9.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004288/0.3546, allocations: 245.3 kB / 436.2 MB, free: 9.285 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.3546, allocations: 5.625 kB / 436.2 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.3546, allocations: 1.984 kB / 436.2 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.3546, allocations: 6.594 kB / 436.2 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002483/0.3549, allocations: 63.94 kB / 436.2 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.3549, allocations: 6.406 kB / 436.2 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.355, allocations: 15.81 kB / 436.3 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.706e-05/0.355, allocations: 13.16 kB / 436.3 MB, free: 9.273 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (32): * Single equations (assignments): 32 * 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.105e-05/0.3551, allocations: 135.4 kB / 436.4 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.982e-05/0.3552, allocations: 30.36 kB / 436.4 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.257e-05/0.3552, allocations: 27.8 kB / 436.5 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.3552, allocations: 3.344 kB / 436.5 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3552, allocations: 1.219 kB / 436.5 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3552, allocations: 1.547 kB / 436.5 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007082/0.3559, allocations: 0.5873 MB / 437 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-05/0.356, allocations: 2.75 kB / 437.1 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002731/0.3562, allocations: 51.91 kB / 437.1 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.3562, allocations: 6.891 kB / 437.1 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.3563, allocations: 6.188 kB / 437.1 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.3563, allocations: 5.938 kB / 437.1 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.3563, allocations: 4.781 kB / 437.1 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006009/0.3569, allocations: 497.1 kB / 437.6 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.924e-05/0.3569, allocations: 95.86 kB / 437.7 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/0.3569, allocations: 11.41 kB / 437.7 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.3571, allocations: 10.59 kB / 437.7 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5e-05/0.3572, allocations: 29 kB / 437.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.3572, allocations: 6.562 kB / 437.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.898e-05/0.3572, allocations: 136.2 kB / 437.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3572, allocations: 1.156 kB / 437.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003196/0.3576, allocations: 51.31 kB / 437.9 MB, free: 8.105 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (damper1.s_rel,damper1.v_rel,mass1.s,mass1.v) * 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 (26): * Single equations (assignments): 26 * 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 9.15e-05/0.3577, allocations: 107.7 kB / 438.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003587/0.358, allocations: 173.2 kB / 438.2 MB, free: 7.965 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.358, allocations: 1.125 kB / 438.2 MB, free: 7.965 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.3582, allocations: 90.59 kB / 438.3 MB, free: 7.938 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004446/0.3586, allocations: 49.3 kB / 438.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009129/0.3595, allocations: 0.686 MB / 439 MB, free: 7.453 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001845/0.3597, allocations: 0.7494 MB / 439.8 MB, free: 6.754 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.772e-05/0.3598, allocations: 20.69 kB / 439.8 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.793e-05/0.3599, allocations: 21.52 kB / 439.8 MB, free: 6.742 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.3599, allocations: 0 / 439.8 MB, free: 6.742 MB / 350.1 MB Notification: Performance of Templates: time 0.005877/0.3658, allocations: 2.091 MB / 441.9 MB, free: 6.598 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.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.7179880840703845]