Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.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.001952/0.001952, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.002347/0.002347, allocations: 203.4 kB / 23.73 MB, free: 4.379 MB / 14.72 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.498/1.498, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 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.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 51.86 kB / 378.2 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2457, allocations: 53.37 MB / 431.6 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003915/0.2496, allocations: 2.31 MB / 433.9 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.2508, allocations: 0.6271 MB / 434.5 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.2509, allocations: 4 kB / 434.5 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001691/0.2511, allocations: 43.52 kB / 434.6 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001658/0.2512, allocations: 67.36 kB / 434.6 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003079/0.2515, allocations: 83.83 kB / 434.7 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003295/0.2519, allocations: 246.9 kB / 434.9 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002007/0.2521, allocations: 81.61 kB / 435 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002243/0.2523, allocations: 103.6 kB / 435.1 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001808/0.2525, allocations: 111.5 kB / 435.2 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.683e-05/0.2525, allocations: 20 kB / 435.3 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.32e-05/0.2526, allocations: 24 kB / 435.3 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.76e-05/0.2527, allocations: 43.84 kB / 435.3 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.2528, allocations: 103.5 kB / 435.4 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003537/0.2531, allocations: 269.1 kB / 435.7 MB, free: 2.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2531, allocations: 3.938 kB / 435.7 MB, free: 2.586 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2531, allocations: 0 / 435.7 MB, free: 2.586 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.2531, allocations: 0 / 435.7 MB, free: 2.586 MB / 334.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.0008262/0.254, allocations: 465.5 kB / 436.1 MB, free: 2.102 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.254, allocations: 12.03 kB / 436.2 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002531/0.2542, allocations: 48.73 kB / 436.2 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003486/0.2546, allocations: 182.9 kB / 436.4 MB, free: 1.84 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.2546, allocations: 16.81 kB / 436.4 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.235e-05/0.2547, allocations: 24.33 kB / 436.4 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004553/0.2551, allocations: 221.2 kB / 436.6 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.2551, allocations: 3.984 kB / 436.6 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.327e-05/0.2552, allocations: 8 kB / 436.6 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.2552, allocations: 4 kB / 436.6 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003319/0.2555, allocations: 147.9 kB / 436.8 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.2566, allocations: 0.6581 MB / 437.5 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004145/0.257, allocations: 192.9 kB / 437.6 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002378/0.2573, allocations: 101.7 kB / 437.7 MB, free: 404 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.2573, allocations: 0 / 437.7 MB, free: 404 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.2573, allocations: 38.5 kB / 437.8 MB, free: 356 kB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.322e-06/0.2573, allocations: 0 / 437.8 MB, free: 356 kB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.001625/0.259, allocations: 0.7197 MB / 438.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.474e-05/0.259, allocations: 85.11 kB / 438.6 MB, free: 15.47 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.2592, allocations: 163.3 kB / 438.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.2592, allocations: 29.7 kB / 438.8 MB, free: 15.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.706e-05/0.2593, allocations: 148.4 kB / 438.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.355e-05/0.2594, allocations: 99.16 kB / 439 MB, free: 15.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.157e-05/0.2595, allocations: 49.7 kB / 439.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.2596, allocations: 330.8 kB / 439.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.2598, allocations: 59.97 kB / 439.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/0.26, allocations: 117.2 kB / 439.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003382/0.2603, allocations: 190.7 kB / 439.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.2603, allocations: 4 kB / 439.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004467/0.2607, allocations: 244.1 kB / 440 MB, free: 14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.2608, allocations: 4 kB / 440 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.2608, allocations: 8.094 kB / 440 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.2608, allocations: 7.969 kB / 440 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002762/0.2611, allocations: 63.91 kB / 440.1 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.2611, allocations: 4 kB / 440.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.2612, allocations: 15.88 kB / 440.1 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.2612, allocations: 8 kB / 440.1 MB, free: 13.89 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 0.0001277/0.2613, allocations: 133.8 kB / 440.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.98e-05/0.2614, allocations: 27.78 kB / 440.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.646e-05/0.2615, allocations: 25.81 kB / 440.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.2615, allocations: 11.94 kB / 440.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2615, allocations: 0 / 440.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.2615, allocations: 3.984 kB / 440.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008182/0.2623, allocations: 498.6 kB / 440.8 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.2623, allocations: 4 kB / 440.8 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003075/0.2626, allocations: 55.91 kB / 440.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.2626, allocations: 3.938 kB / 440.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/0.2626, allocations: 12.08 kB / 440.9 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.2626, allocations: 8 kB / 440.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.2627, allocations: 3.938 kB / 440.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006769/0.2633, allocations: 493 kB / 441.3 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.246e-05/0.2634, allocations: 19.86 kB / 441.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.456e-05/0.2634, allocations: 8 kB / 441.4 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.2636, allocations: 12.03 kB / 441.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.369e-05/0.2636, allocations: 23.91 kB / 441.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.2637, allocations: 4 kB / 441.4 MB, free: 12.49 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.786e-05/0.2638, allocations: 127.2 kB / 441.5 MB, free: 12.37 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2638, allocations: 0 / 441.5 MB, free: 12.37 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003574/0.2641, allocations: 52 kB / 441.6 MB, free: 12.32 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 0.0001176/0.2642, allocations: 107.2 kB / 441.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004112/0.2646, allocations: 171.7 kB / 441.9 MB, free: 12.03 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2646, allocations: 0 / 441.9 MB, free: 12.03 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001819/0.2648, allocations: 88.03 kB / 441.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000483/0.2653, allocations: 35.98 kB / 442 MB, free: 11.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.2665, allocations: 0.6886 MB / 442.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001445/0.2667, allocations: 137.8 kB / 442.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.239e-05/0.2668, allocations: 21.94 kB / 442.8 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.174e-05/0.2668, allocations: 19.44 kB / 442.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2668, allocations: 0 / 442.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of Templates: time 0.006027/0.2729, allocations: 2.318 MB / 445.2 MB, free: 8.699 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.660067557822913]