Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009094/0.0009094, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009356/0.0009356, allocations: 161 kB / 24.99 MB, free: 8.801 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.088/1.088, allocations: 177 MB / 205.2 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 273 MB, free: 1.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.027e-05/2.211e-05, allocations: 2.312 kB / 273 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.00354/0.003562, allocations: 2.449 MB / 275.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.004755, allocations: 0.6387 MB / 276.1 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001638/0.004918, allocations: 7.938 kB / 276.1 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001528/0.005071, allocations: 39.58 kB / 276.1 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000154/0.005225, allocations: 71.34 kB / 276.2 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003166/0.005542, allocations: 83.77 kB / 276.3 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003238/0.005866, allocations: 262.7 kB / 276.5 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001806/0.006046, allocations: 65.69 kB / 276.6 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002784/0.006325, allocations: 163.6 kB / 276.7 MB, free: 14 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.006469, allocations: 79.77 kB / 276.8 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.611e-05/0.006505, allocations: 20 kB / 276.8 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.623e-05/0.006571, allocations: 27.94 kB / 276.9 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.12e-05/0.006612, allocations: 51.83 kB / 276.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.508e-05/0.006697, allocations: 75.83 kB / 277 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002907/0.006988, allocations: 179.3 kB / 277.2 MB, free: 13.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.00699, allocations: 0 / 277.2 MB, free: 13.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.006991, allocations: 0 / 277.2 MB, free: 13.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.006996, allocations: 0 / 277.2 MB, free: 13.57 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.0006943/0.007691, allocations: 0.5507 MB / 277.7 MB, free: 12.99 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.007734, allocations: 11.98 kB / 277.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000225/0.007959, allocations: 64.73 kB / 277.8 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.008221, allocations: 196.2 kB / 278 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.008241, allocations: 12.88 kB / 278 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.289e-05/0.008283, allocations: 20.38 kB / 278 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000342/0.008625, allocations: 197.1 kB / 278.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.008642, allocations: 4.125 kB / 278.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.333e-05/0.008666, allocations: 11.94 kB / 278.2 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.008677, allocations: 12 kB / 278.2 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001913/0.008869, allocations: 75.92 kB / 278.3 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009685/0.009837, allocations: 0.7385 MB / 279.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000326/0.01016, allocations: 150 kB / 279.2 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.01033, allocations: 75.33 kB / 279.3 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.01035, allocations: 4 kB / 279.3 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.01038, allocations: 45.33 kB / 279.3 MB, free: 11.25 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.854e-06/0.01038, allocations: 3.938 kB / 279.3 MB, free: 11.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.001209/0.01159, allocations: 0.6217 MB / 279.9 MB, free: 10.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.875e-05/0.01164, allocations: 81.09 kB / 280 MB, free: 10.48 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.01181, allocations: 217.9 kB / 280.2 MB, free: 10.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.01183, allocations: 29.7 kB / 280.3 MB, free: 10.21 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.01193, allocations: 199.3 kB / 280.5 MB, free: 10.01 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.965e-05/0.012, allocations: 95.17 kB / 280.6 MB, free: 9.918 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.609e-05/0.01208, allocations: 55.36 kB / 280.6 MB, free: 9.855 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.01223, allocations: 0.5001 MB / 281.1 MB, free: 9.344 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.589e-05/0.01232, allocations: 35.97 kB / 281.1 MB, free: 9.309 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.01243, allocations: 87.47 kB / 281.2 MB, free: 9.203 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002383/0.01267, allocations: 143.2 kB / 281.4 MB, free: 9.043 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.01267, allocations: 0 / 281.4 MB, free: 9.043 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.00032/0.01299, allocations: 201 kB / 281.6 MB, free: 8.844 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.01301, allocations: 8.094 kB / 281.6 MB, free: 8.836 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.01302, allocations: 3.938 kB / 281.6 MB, free: 8.832 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.01304, allocations: 4 kB / 281.6 MB, free: 8.828 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.01326, allocations: 59.91 kB / 281.6 MB, free: 8.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.01327, allocations: 3.938 kB / 281.6 MB, free: 8.766 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.875e-05/0.01334, allocations: 8 kB / 281.7 MB, free: 8.758 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.01336, allocations: 12 kB / 281.7 MB, free: 8.746 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 0.000109/0.01347, allocations: 164.6 kB / 281.8 MB, free: 8.574 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.661e-05/0.01355, allocations: 39.78 kB / 281.9 MB, free: 8.535 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.03e-05/0.0136, allocations: 29.75 kB / 281.9 MB, free: 8.504 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.0136, allocations: 4 kB / 281.9 MB, free: 8.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.01361, allocations: 0 / 281.9 MB, free: 8.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.01362, allocations: 3.984 kB / 281.9 MB, free: 8.496 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006835/0.0143, allocations: 0.5117 MB / 282.4 MB, free: 7.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.0143, allocations: 0 / 282.4 MB, free: 7.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002286/0.01453, allocations: 55.91 kB / 282.5 MB, free: 7.875 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.01454, allocations: 4 kB / 282.5 MB, free: 7.871 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.01456, allocations: 8.078 kB / 282.5 MB, free: 7.863 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.01456, allocations: 8 kB / 282.5 MB, free: 7.855 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.01456, allocations: 0 / 282.5 MB, free: 7.855 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005117/0.01508, allocations: 0.5017 MB / 283 MB, free: 7.32 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.642e-05/0.0151, allocations: 19.86 kB / 283 MB, free: 7.301 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/0.01513, allocations: 4 kB / 283 MB, free: 7.297 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.01527, allocations: 8 kB / 283 MB, free: 7.289 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.931e-05/0.01533, allocations: 23.95 kB / 283 MB, free: 7.266 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.01535, allocations: 8 kB / 283.1 MB, free: 7.258 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.444e-05/0.01544, allocations: 163.7 kB / 283.2 MB, free: 7.098 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01544, allocations: 4 kB / 283.2 MB, free: 7.094 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000388/0.01583, allocations: 51.94 kB / 283.3 MB, free: 7.043 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.0001013/0.01593, allocations: 103.2 kB / 283.4 MB, free: 6.934 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000274/0.0162, allocations: 131.4 kB / 283.5 MB, free: 6.801 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01621, allocations: 0 / 283.5 MB, free: 6.801 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.01632, allocations: 79.5 kB / 283.6 MB, free: 6.719 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004526/0.01678, allocations: 40.3 kB / 283.6 MB, free: 6.68 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.01796, allocations: 0.5947 MB / 284.2 MB, free: 6.031 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.01807, allocations: 91.91 kB / 284.3 MB, free: 5.922 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.652e-05/0.01816, allocations: 21.94 kB / 284.3 MB, free: 5.898 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.746e-05/0.01821, allocations: 20.5 kB / 284.3 MB, free: 5.879 MB / 266.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01821, allocations: 0 / 284.3 MB, free: 5.879 MB / 266.7 MB Notification: Performance of Templates: time 0.004392/0.02261, allocations: 1.989 MB / 286.3 MB, free: 3.926 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.710414171917364]