Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009908/0.0009908, allocations: 80.8 kB / 22.28 MB, free: 2.207 MB / 18.57 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.001865/0.001865, allocations: 169.6 kB / 25.7 MB, free: 8.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.007/1.007, allocations: 158.6 MB / 187.6 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 251.5 MB, free: 7.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.093e-05/2.257e-05, allocations: 2.312 kB / 251.5 MB, free: 7.238 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003374/0.003397, allocations: 2.455 MB / 254 MB, free: 4.762 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.004639, allocations: 0.6279 MB / 254.6 MB, free: 4.125 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.004785, allocations: 4 kB / 254.6 MB, free: 4.121 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001492/0.004934, allocations: 39.58 kB / 254.7 MB, free: 4.082 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001531/0.005087, allocations: 75.28 kB / 254.7 MB, free: 4.008 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.005357, allocations: 63.84 kB / 254.8 MB, free: 3.945 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002736/0.00563, allocations: 262.7 kB / 255.1 MB, free: 3.688 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001747/0.005805, allocations: 63.67 kB / 255.1 MB, free: 3.629 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000229/0.006034, allocations: 151.7 kB / 255.3 MB, free: 3.48 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.006167, allocations: 79.77 kB / 255.4 MB, free: 3.402 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.649e-05/0.006203, allocations: 20 kB / 255.4 MB, free: 3.383 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.547e-05/0.006229, allocations: 20 kB / 255.4 MB, free: 3.363 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.346e-05/0.006272, allocations: 51.81 kB / 255.4 MB, free: 3.312 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.701e-05/0.006339, allocations: 75.83 kB / 255.5 MB, free: 3.238 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.006579, allocations: 175.3 kB / 255.7 MB, free: 3.066 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.006584, allocations: 7.984 kB / 255.7 MB, free: 3.059 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.006585, allocations: 0 / 255.7 MB, free: 3.059 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.006591, allocations: 0 / 255.7 MB, free: 3.059 MB / 234.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.0004889/0.00708, allocations: 428.3 kB / 256.1 MB, free: 2.617 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.007117, allocations: 15.98 kB / 256.1 MB, free: 2.602 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.289e-05/0.00717, allocations: 28.92 kB / 256.2 MB, free: 2.574 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.007359, allocations: 178 kB / 256.3 MB, free: 2.375 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.007373, allocations: 12.88 kB / 256.3 MB, free: 2.359 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.2e-05/0.007405, allocations: 20.38 kB / 256.4 MB, free: 2.34 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.007617, allocations: 179.4 kB / 256.5 MB, free: 2.152 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.007629, allocations: 192 / 256.5 MB, free: 2.152 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.007645, allocations: 15.92 kB / 256.6 MB, free: 2.137 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.007653, allocations: 4 kB / 256.6 MB, free: 2.133 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.712e-05/0.00774, allocations: 63.88 kB / 256.6 MB, free: 2.07 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006243/0.008364, allocations: 0.5371 MB / 257.2 MB, free: 1.5 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.008568, allocations: 121.2 kB / 257.3 MB, free: 1.363 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.168e-05/0.008659, allocations: 65.48 kB / 257.3 MB, free: 1.297 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.008678, allocations: 8 kB / 257.3 MB, free: 1.289 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.008704, allocations: 34.56 kB / 257.4 MB, free: 1.246 MB / 234.7 MB Notification: Performance of pre-optimization done (n=22): time 1.433e-06/0.008705, allocations: 0 / 257.4 MB, free: 1.246 MB / 234.7 MB Notification: Performance of matching and sorting (n=26): time 0.0008368/0.009542, allocations: 0.5108 MB / 257.9 MB, free: 0.6797 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.009592, allocations: 92.97 kB / 258 MB, free: 0.5703 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.009693, allocations: 154.6 kB / 258.1 MB, free: 416 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.009709, allocations: 25.7 kB / 258.2 MB, free: 384 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.522e-05/0.009785, allocations: 136.4 kB / 258.3 MB, free: 240 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.864e-05/0.009853, allocations: 107.1 kB / 258.4 MB, free: 132 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.383e-05/0.009917, allocations: 53.61 kB / 258.5 MB, free: 72 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.684e-05/0.01001, allocations: 326.8 kB / 258.8 MB, free: 15.74 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.331e-05/0.01005, allocations: 23.98 kB / 258.8 MB, free: 15.72 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.594e-05/0.0101, allocations: 64.23 kB / 258.9 MB, free: 15.64 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.01021, allocations: 108.1 kB / 259 MB, free: 15.52 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.01021, allocations: 0 / 259 MB, free: 15.52 MB / 250.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001539/0.01037, allocations: 145.8 kB / 259.1 MB, free: 15.37 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.01038, allocations: 11.98 kB / 259.1 MB, free: 15.36 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.01039, allocations: 0 / 259.1 MB, free: 15.36 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.0104, allocations: 4 kB / 259.1 MB, free: 15.36 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.0106, allocations: 67.84 kB / 259.2 MB, free: 15.29 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.0106, allocations: 0 / 259.2 MB, free: 15.29 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.865e-05/0.01065, allocations: 11.95 kB / 259.2 MB, free: 15.28 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.01067, allocations: 15.98 kB / 259.2 MB, free: 15.26 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 8.259e-05/0.01075, allocations: 125.8 kB / 259.3 MB, free: 15.13 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.988e-05/0.01079, allocations: 20.05 kB / 259.4 MB, free: 15.11 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.979e-05/0.01084, allocations: 29.8 kB / 259.4 MB, free: 15.08 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.01085, allocations: 7.922 kB / 259.4 MB, free: 15.07 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.01085, allocations: 4 kB / 259.4 MB, free: 15.07 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.01086, allocations: 0 / 259.4 MB, free: 15.07 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004452/0.0113, allocations: 364.7 kB / 259.8 MB, free: 14.68 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.01131, allocations: 7.984 kB / 259.8 MB, free: 14.67 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/0.01148, allocations: 64 kB / 259.8 MB, free: 14.61 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.01148, allocations: 8 kB / 259.8 MB, free: 14.6 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.01149, allocations: 0 / 259.8 MB, free: 14.6 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.0115, allocations: 7.984 kB / 259.8 MB, free: 14.59 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.0115, allocations: 0 / 259.8 MB, free: 14.59 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002822/0.01178, allocations: 361.9 kB / 260.2 MB, free: 14.21 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.123e-05/0.0118, allocations: 19.84 kB / 260.2 MB, free: 14.2 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.01182, allocations: 8 kB / 260.2 MB, free: 14.19 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.981e-05/0.0119, allocations: 8 kB / 260.2 MB, free: 14.18 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/0.01195, allocations: 11.97 kB / 260.2 MB, free: 14.17 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.01196, allocations: 19.92 kB / 260.3 MB, free: 14.15 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.966e-05/0.012, allocations: 40.81 kB / 260.3 MB, free: 14.11 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.012, allocations: 7.938 kB / 260.3 MB, free: 14.1 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002028/0.0122, allocations: 48 kB / 260.4 MB, free: 14.05 MB / 250.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.000113/0.01232, allocations: 88.34 kB / 260.4 MB, free: 13.95 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001539/0.01247, allocations: 112.8 kB / 260.5 MB, free: 13.84 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.01247, allocations: 0 / 260.5 MB, free: 13.84 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.386e-05/0.01254, allocations: 60.97 kB / 260.6 MB, free: 13.78 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.01282, allocations: 44.03 kB / 260.7 MB, free: 13.73 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008294/0.01365, allocations: 0.5264 MB / 261.2 MB, free: 13.17 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.835e-05/0.01372, allocations: 87.97 kB / 261.3 MB, free: 13.07 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.123e-05/0.01379, allocations: 17.95 kB / 261.3 MB, free: 13.05 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.0139, allocations: 91.34 kB / 261.4 MB, free: 12.96 MB / 250.7 MB Notification: Performance of SimCode: time 1.313e-06/0.01391, allocations: 0 / 261.4 MB, free: 12.96 MB / 250.7 MB Notification: Performance of Templates: time 0.004199/0.01811, allocations: 2.19 MB / 263.6 MB, free: 10.8 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.702085267752409]