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.001186/0.001186, allocations: 82.28 kB / 22.21 MB, free: 2.293 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.0009771/0.0009771, allocations: 142 kB / 25.59 MB, free: 8.609 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.957/0.957, allocations: 173.4 MB / 202.2 MB, free: 8.297 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.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 1.552e-06/1.552e-06, allocations: 0 / 269.2 MB, free: 9.863 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.669e-05/1.824e-05, allocations: 2.312 kB / 269.2 MB, free: 9.859 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003035/0.003053, allocations: 2.402 MB / 271.6 MB, free: 7.457 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009531/0.004007, allocations: 0.5659 MB / 272.1 MB, free: 6.891 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.004126, allocations: 7.938 kB / 272.2 MB, free: 6.883 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000129/0.004255, allocations: 35.64 kB / 272.2 MB, free: 6.848 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001383/0.004394, allocations: 77.31 kB / 272.3 MB, free: 6.773 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002089/0.004603, allocations: 60.41 kB / 272.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002598/0.004862, allocations: 268.2 kB / 272.6 MB, free: 6.453 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.005012, allocations: 65.64 kB / 272.6 MB, free: 6.387 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000203/0.005215, allocations: 151.7 kB / 272.8 MB, free: 6.238 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.005348, allocations: 79.78 kB / 272.9 MB, free: 6.16 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.375e-05/0.005382, allocations: 21.28 kB / 272.9 MB, free: 6.141 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.818e-05/0.00541, allocations: 20 kB / 272.9 MB, free: 6.121 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.264e-05/0.005452, allocations: 51.8 kB / 273 MB, free: 6.07 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.422e-05/0.005527, allocations: 80.36 kB / 273 MB, free: 5.992 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.005742, allocations: 171.3 kB / 273.2 MB, free: 5.824 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.005744, allocations: 0.5312 kB / 273.2 MB, free: 5.824 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.005746, allocations: 4.672 kB / 273.2 MB, free: 5.82 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.00575, allocations: 0 / 273.2 MB, free: 5.82 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0005648/0.006315, allocations: 0.5491 MB / 273.8 MB, free: 5.234 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.006345, allocations: 8.031 kB / 273.8 MB, free: 5.227 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.486e-05/0.00641, allocations: 41.3 kB / 273.8 MB, free: 5.188 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/0.00661, allocations: 188.9 kB / 274 MB, free: 4.973 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.006626, allocations: 12.88 kB / 274 MB, free: 4.961 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.572e-05/0.006661, allocations: 24.38 kB / 274 MB, free: 4.938 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002408/0.006902, allocations: 181 kB / 274.2 MB, free: 4.746 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.006915, allocations: 192 / 274.2 MB, free: 4.746 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.006932, allocations: 11.94 kB / 274.2 MB, free: 4.734 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.006942, allocations: 4 kB / 274.2 MB, free: 4.73 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.007056, allocations: 74.48 kB / 274.3 MB, free: 4.66 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008226/0.007879, allocations: 0.7078 MB / 275 MB, free: 3.91 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002486/0.008127, allocations: 150.1 kB / 275.2 MB, free: 3.738 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.008238, allocations: 67.33 kB / 275.2 MB, free: 3.664 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.008258, allocations: 7.938 kB / 275.2 MB, free: 3.656 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.008282, allocations: 33.39 kB / 275.3 MB, free: 3.613 MB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 1.553e-06/0.008284, allocations: 0 / 275.3 MB, free: 3.613 MB / 250.7 MB Notification: Performance of matching and sorting (n=26): time 0.0008443/0.009128, allocations: 0.5395 MB / 275.8 MB, free: 3.02 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.009167, allocations: 81.11 kB / 275.9 MB, free: 2.922 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.00929, allocations: 209.8 kB / 276.1 MB, free: 2.699 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.009308, allocations: 33.7 kB / 276.1 MB, free: 2.66 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.346e-05/0.009391, allocations: 187.2 kB / 276.3 MB, free: 2.473 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.426e-05/0.009455, allocations: 103 kB / 276.4 MB, free: 2.371 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.154e-05/0.009527, allocations: 59.31 kB / 276.5 MB, free: 2.305 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.009661, allocations: 0.5001 MB / 277 MB, free: 1.793 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.774e-05/0.009709, allocations: 31.91 kB / 277 MB, free: 1.762 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.879e-05/0.009788, allocations: 78.39 kB / 277.1 MB, free: 1.664 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.009936, allocations: 133.1 kB / 277.2 MB, free: 1.516 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.009938, allocations: 0 / 277.2 MB, free: 1.516 MB / 250.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002297/0.01017, allocations: 173.7 kB / 277.4 MB, free: 1.34 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.01018, allocations: 8 kB / 277.4 MB, free: 1.332 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.01019, allocations: 0 / 277.4 MB, free: 1.332 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.0102, allocations: 7.938 kB / 277.4 MB, free: 1.324 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.01038, allocations: 60 kB / 277.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.01038, allocations: 8 kB / 277.4 MB, free: 1.258 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.084e-05/0.01046, allocations: 15.89 kB / 277.5 MB, free: 1.242 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.01047, allocations: 4 kB / 277.5 MB, free: 1.238 MB / 250.7 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.153e-05/0.01056, allocations: 168.5 kB / 277.6 MB, free: 1.062 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.222e-05/0.01062, allocations: 31.89 kB / 277.7 MB, free: 1.031 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.202e-05/0.01066, allocations: 25.81 kB / 277.7 MB, free: 1.008 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.01067, allocations: 7.938 kB / 277.7 MB, free: 1 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.01067, allocations: 0 / 277.7 MB, free: 1 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.01068, allocations: 0 / 277.7 MB, free: 1 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005526/0.01123, allocations: 480.7 kB / 278.2 MB, free: 496 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.01123, allocations: 3.938 kB / 278.2 MB, free: 492 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/0.01142, allocations: 59.91 kB / 278.2 MB, free: 432 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.01142, allocations: 4 kB / 278.2 MB, free: 428 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.01143, allocations: 8 kB / 278.2 MB, free: 420 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.01144, allocations: 0 / 278.2 MB, free: 420 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.01144, allocations: 4 kB / 278.2 MB, free: 416 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003948/0.01184, allocations: 491.7 kB / 278.7 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.391e-05/0.01186, allocations: 23.88 kB / 278.7 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.01188, allocations: 8 kB / 278.8 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.01201, allocations: 11.98 kB / 278.8 MB, free: 15.85 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.01205, allocations: 19.97 kB / 278.8 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.01207, allocations: 4 kB / 278.8 MB, free: 15.83 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.765e-05/0.01213, allocations: 164.3 kB / 278.9 MB, free: 15.67 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01213, allocations: 4 kB / 279 MB, free: 15.66 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000322/0.01246, allocations: 48 kB / 279 MB, free: 15.62 MB / 266.7 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.0001241/0.01258, allocations: 107.2 kB / 279.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000192/0.01277, allocations: 119.4 kB / 279.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.01277, allocations: 0 / 279.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.262e-05/0.01286, allocations: 67.52 kB / 279.3 MB, free: 15.31 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004257/0.01328, allocations: 43.84 kB / 279.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.0143, allocations: 0.5988 MB / 279.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.475e-05/0.01436, allocations: 83.97 kB / 280 MB, free: 14.52 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.796e-05/0.01444, allocations: 21.95 kB / 280 MB, free: 14.5 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.01456, allocations: 106.2 kB / 280.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01456, allocations: 0 / 280.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of Templates: time 0.004927/0.01949, allocations: 2.213 MB / 282.3 MB, free: 12.23 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 240] 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","",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.753099614754319]