Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.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.001476/0.001476, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 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.001389/0.001389, allocations: 191.8 kB / 23.71 MB, free: 4.406 MB / 14.72 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 1.436/1.436, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] 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.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Mechanics.Translational.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002662/0.002662, allocations: 55.91 kB / 370.9 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2478, allocations: 52.17 MB / 423 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003667/0.2514, allocations: 2.308 MB / 425.4 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.2525, allocations: 0.5493 MB / 425.9 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.2526, allocations: 4 kB / 425.9 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001393/0.2527, allocations: 39.58 kB / 425.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001392/0.2529, allocations: 67.36 kB / 426 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002428/0.2531, allocations: 67.84 kB / 426.1 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003091/0.2534, allocations: 246.9 kB / 426.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002191/0.2536, allocations: 73.44 kB / 426.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001662/0.2538, allocations: 99.64 kB / 426.5 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/0.254, allocations: 95.47 kB / 426.6 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.371e-05/0.254, allocations: 20 kB / 426.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.271e-05/0.254, allocations: 20 kB / 426.6 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.066e-05/0.2541, allocations: 55.83 kB / 426.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.981e-05/0.2542, allocations: 91.59 kB / 426.8 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003084/0.2545, allocations: 257.3 kB / 427 MB, free: 10.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.2545, allocations: 4 kB / 427 MB, free: 10.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.2545, allocations: 0 / 427 MB, free: 10.48 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.2545, allocations: 4 kB / 427 MB, free: 10.48 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.0008208/0.2553, allocations: 460.6 kB / 427.5 MB, free: 10 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.2554, allocations: 12.03 kB / 427.5 MB, free: 9.988 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.619e-05/0.2554, allocations: 28.75 kB / 427.5 MB, free: 9.961 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003049/0.2557, allocations: 170.9 kB / 427.7 MB, free: 9.766 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.2558, allocations: 16.81 kB / 427.7 MB, free: 9.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.182e-05/0.2558, allocations: 24.33 kB / 427.7 MB, free: 9.727 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004215/0.2562, allocations: 229.2 kB / 427.9 MB, free: 9.488 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.2563, allocations: 0 / 427.9 MB, free: 9.488 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.2563, allocations: 4 kB / 427.9 MB, free: 9.484 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.2563, allocations: 15.94 kB / 428 MB, free: 9.469 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003315/0.2566, allocations: 139.9 kB / 428.1 MB, free: 9.332 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.2578, allocations: 0.6659 MB / 428.8 MB, free: 8.617 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000455/0.2582, allocations: 181 kB / 428.9 MB, free: 8.422 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002519/0.2585, allocations: 105.7 kB / 429 MB, free: 8.312 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.2585, allocations: 4 kB / 429.1 MB, free: 8.309 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.2585, allocations: 38.5 kB / 429.1 MB, free: 8.262 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.533e-06/0.2585, allocations: 0 / 429.1 MB, free: 8.262 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.001583/0.2601, allocations: 0.7191 MB / 429.8 MB, free: 7.492 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/0.2602, allocations: 85.11 kB / 429.9 MB, free: 7.391 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.2603, allocations: 154.3 kB / 430 MB, free: 7.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.2603, allocations: 29.7 kB / 430.1 MB, free: 7.195 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.2604, allocations: 144.6 kB / 430.2 MB, free: 7.051 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.069e-05/0.2605, allocations: 99.09 kB / 430.3 MB, free: 6.953 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.826e-05/0.2606, allocations: 49.7 kB / 430.4 MB, free: 6.898 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.2608, allocations: 330.8 kB / 430.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.2609, allocations: 63.97 kB / 430.7 MB, free: 6.504 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.2611, allocations: 108.2 kB / 430.8 MB, free: 6.383 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003519/0.2614, allocations: 196.1 kB / 431 MB, free: 6.176 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.2614, allocations: 0 / 431 MB, free: 6.176 MB / 334.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004513/0.2619, allocations: 241.4 kB / 431.3 MB, free: 5.934 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.2619, allocations: 6.969 kB / 431.3 MB, free: 5.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.2619, allocations: 4.094 kB / 431.3 MB, free: 5.926 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.2619, allocations: 4 kB / 431.3 MB, free: 5.922 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002692/0.2622, allocations: 63.89 kB / 431.4 MB, free: 5.859 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.2622, allocations: 4 kB / 431.4 MB, free: 5.855 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.2623, allocations: 12 kB / 431.4 MB, free: 5.844 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.2623, allocations: 12 kB / 431.4 MB, free: 5.832 MB / 334.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.0001299/0.2625, allocations: 133.8 kB / 431.5 MB, free: 5.691 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.581e-05/0.2625, allocations: 31.78 kB / 431.5 MB, free: 5.66 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.535e-05/0.2626, allocations: 21.81 kB / 431.6 MB, free: 5.637 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.2626, allocations: 12 kB / 431.6 MB, free: 5.625 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2626, allocations: 3.938 kB / 431.6 MB, free: 5.621 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.2626, allocations: 7.984 kB / 431.6 MB, free: 5.613 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008023/0.2634, allocations: 496.3 kB / 432.1 MB, free: 5.082 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.2634, allocations: 0 / 432.1 MB, free: 5.082 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002776/0.2637, allocations: 59.91 kB / 432.1 MB, free: 5.023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.2637, allocations: 4 kB / 432.1 MB, free: 5.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.2637, allocations: 4.094 kB / 432.1 MB, free: 5.016 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.2637, allocations: 15.92 kB / 432.2 MB, free: 5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2637, allocations: 0 / 432.2 MB, free: 5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000677/0.2644, allocations: 489 kB / 432.6 MB, free: 4.496 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.747e-05/0.2645, allocations: 23.8 kB / 432.7 MB, free: 4.473 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.294e-05/0.2645, allocations: 11.94 kB / 432.7 MB, free: 4.461 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.2647, allocations: 8.031 kB / 432.7 MB, free: 4.453 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.185e-05/0.2647, allocations: 23.91 kB / 432.7 MB, free: 4.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.2647, allocations: 8 kB / 432.7 MB, free: 4.422 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.79e-05/0.2648, allocations: 124.2 kB / 432.8 MB, free: 4.301 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2648, allocations: 0 / 432.8 MB, free: 4.301 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003461/0.2652, allocations: 52 kB / 432.9 MB, free: 4.25 MB / 334.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.0001103/0.2653, allocations: 103.2 kB / 433 MB, free: 4.137 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003914/0.2657, allocations: 170.7 kB / 433.1 MB, free: 3.973 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2657, allocations: 0 / 433.1 MB, free: 3.973 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001866/0.2659, allocations: 96.61 kB / 433.2 MB, free: 3.879 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004899/0.2664, allocations: 40.06 kB / 433.3 MB, free: 3.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.2676, allocations: 0.6884 MB / 434 MB, free: 3.109 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001475/0.2677, allocations: 137.9 kB / 434.1 MB, free: 2.957 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.175e-05/0.2678, allocations: 17.94 kB / 434.1 MB, free: 2.938 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.369e-05/0.2679, allocations: 23.42 kB / 434.1 MB, free: 2.914 MB / 334.1 MB Notification: Performance of SimCode: time 4.3e-07/0.2679, allocations: 0 / 434.1 MB, free: 2.914 MB / 334.1 MB Notification: Performance of Templates: time 0.005874/0.2738, allocations: 2.214 MB / 436.4 MB, free: 0.7344 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.451322687789798]