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.0009598/0.0009598, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.0009251/0.0009251, allocations: 165.3 kB / 24.82 MB, free: 9.27 MB / 18.57 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 0.9615/0.9615, allocations: 177.1 MB / 205.3 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] 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 1.583e-06/1.583e-06, allocations: 0 / 273.4 MB, free: 1.332 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.731e-05/1.89e-05, allocations: 4.703 kB / 273.4 MB, free: 1.328 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.002467/0.002486, allocations: 2.422 MB / 275.8 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008885/0.003374, allocations: 0.6426 MB / 276.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.003484, allocations: 7.938 kB / 276.5 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001165/0.0036, allocations: 39.64 kB / 276.5 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.003705, allocations: 71.3 kB / 276.6 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002452/0.00395, allocations: 75.83 kB / 276.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002292/0.004179, allocations: 270.6 kB / 276.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.004316, allocations: 73.69 kB / 277 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002138/0.00453, allocations: 151.7 kB / 277.1 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.004641, allocations: 83.72 kB / 277.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.629e-05/0.004667, allocations: 24 kB / 277.2 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.436e-05/0.004721, allocations: 23.94 kB / 277.2 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.784e-05/0.004749, allocations: 51.81 kB / 277.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.94e-05/0.004808, allocations: 83.81 kB / 277.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.005002, allocations: 171.3 kB / 277.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.005006, allocations: 4 kB / 277.6 MB, free: 13.13 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.005007, allocations: 0 / 277.6 MB, free: 13.13 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.005011, allocations: 0 / 277.6 MB, free: 13.13 MB / 266.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.0004907/0.005502, allocations: 0.5545 MB / 278.1 MB, free: 12.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.005538, allocations: 12.03 kB / 278.1 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.00568, allocations: 56.73 kB / 278.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.005847, allocations: 192.2 kB / 278.4 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.00586, allocations: 12.88 kB / 278.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/0.00589, allocations: 24.38 kB / 278.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.006083, allocations: 177.1 kB / 278.6 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.006096, allocations: 16.16 kB / 278.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.00611, allocations: 7.938 kB / 278.6 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.006116, allocations: 7.938 kB / 278.6 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.123e-05/0.006197, allocations: 63.94 kB / 278.7 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006288/0.006826, allocations: 0.7117 MB / 279.4 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.007008, allocations: 146.1 kB / 279.5 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.32e-05/0.007091, allocations: 75.31 kB / 279.6 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.00711, allocations: 4 kB / 279.6 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.007131, allocations: 37.39 kB / 279.6 MB, free: 10.89 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.673e-06/0.007133, allocations: 0 / 279.6 MB, free: 10.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.0007501/0.007883, allocations: 0.5369 MB / 280.2 MB, free: 10.29 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.007913, allocations: 81.11 kB / 280.2 MB, free: 10.2 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.728e-05/0.008011, allocations: 217.8 kB / 280.5 MB, free: 9.965 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.008024, allocations: 33.7 kB / 280.5 MB, free: 9.926 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.102e-05/0.008095, allocations: 195.2 kB / 280.7 MB, free: 9.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.7e-05/0.008142, allocations: 99.11 kB / 280.8 MB, free: 9.633 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-05/0.008194, allocations: 55.28 kB / 280.8 MB, free: 9.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.008317, allocations: 0.504 MB / 281.3 MB, free: 9.055 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.193e-05/0.008359, allocations: 27.98 kB / 281.4 MB, free: 9.027 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.952e-05/0.008419, allocations: 79.44 kB / 281.4 MB, free: 8.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.00853, allocations: 133.6 kB / 281.6 MB, free: 8.781 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.008531, allocations: 3.938 kB / 281.6 MB, free: 8.777 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001708/0.008701, allocations: 173.4 kB / 281.7 MB, free: 8.602 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.008716, allocations: 8 kB / 281.8 MB, free: 8.594 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.00872, allocations: 0 / 281.8 MB, free: 8.594 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.008733, allocations: 7.938 kB / 281.8 MB, free: 8.586 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.008868, allocations: 59.91 kB / 281.8 MB, free: 8.527 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.008871, allocations: 4 kB / 281.8 MB, free: 8.523 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.506e-05/0.008916, allocations: 8 kB / 281.8 MB, free: 8.516 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.008925, allocations: 4 kB / 281.8 MB, free: 8.512 MB / 266.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.008e-05/0.009005, allocations: 172.6 kB / 282 MB, free: 8.332 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.023e-05/0.009045, allocations: 31.86 kB / 282 MB, free: 8.301 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.626e-05/0.009082, allocations: 29.8 kB / 282.1 MB, free: 8.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.009085, allocations: 11.88 kB / 282.1 MB, free: 8.258 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.009087, allocations: 0 / 282.1 MB, free: 8.258 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.009091, allocations: 0 / 282.1 MB, free: 8.258 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004548/0.009546, allocations: 479.8 kB / 282.5 MB, free: 7.746 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.009551, allocations: 7.938 kB / 282.6 MB, free: 7.738 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/0.009684, allocations: 56 kB / 282.6 MB, free: 7.684 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.009686, allocations: 8 kB / 282.6 MB, free: 7.676 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.009698, allocations: 8 kB / 282.6 MB, free: 7.668 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.0097, allocations: 0 / 282.6 MB, free: 7.668 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.009701, allocations: 4 kB / 282.6 MB, free: 7.664 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002881/0.009989, allocations: 490.5 kB / 283.1 MB, free: 7.152 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.022e-05/0.01001, allocations: 27.8 kB / 283.1 MB, free: 7.125 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.01003, allocations: 4 kB / 283.1 MB, free: 7.121 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.855e-05/0.0101, allocations: 7.984 kB / 283.1 MB, free: 7.113 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.413e-05/0.01015, allocations: 19.97 kB / 283.2 MB, free: 7.094 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.01016, allocations: 12 kB / 283.2 MB, free: 7.082 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.157e-05/0.01021, allocations: 159.6 kB / 283.3 MB, free: 6.926 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01021, allocations: 3.938 kB / 283.3 MB, free: 6.922 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002116/0.01042, allocations: 52 kB / 283.4 MB, free: 6.871 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 8.465e-05/0.01051, allocations: 107.2 kB / 283.5 MB, free: 6.758 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001418/0.01065, allocations: 113.4 kB / 283.6 MB, free: 6.645 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01065, allocations: 4 kB / 283.6 MB, free: 6.641 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.103e-05/0.01071, allocations: 71.83 kB / 283.7 MB, free: 6.566 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.01101, allocations: 51.52 kB / 283.7 MB, free: 6.52 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007987/0.01181, allocations: 0.587 MB / 284.3 MB, free: 5.879 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.436e-05/0.01186, allocations: 87.91 kB / 284.4 MB, free: 5.773 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.513e-05/0.01193, allocations: 17.95 kB / 284.4 MB, free: 5.754 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.01203, allocations: 106.2 kB / 284.5 MB, free: 5.648 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01203, allocations: 0 / 284.5 MB, free: 5.648 MB / 266.7 MB Notification: Performance of Templates: time 0.00389/0.01592, allocations: 2.176 MB / 286.7 MB, free: 3.52 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 240] 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","",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.5841108304448426]