Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.006449/0.006449, allocations: 106.1 kB / 21.98 MB, free: 5.223 MB / 14.72 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.001494/0.001494, allocations: 215.9 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.438/1.438, allocations: 230.6 MB / 259 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 63.89 kB / 379.8 MB, free: 2.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2809, allocations: 53.37 MB / 433.2 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.004122/0.285, allocations: 2.464 MB / 435.6 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.2864, allocations: 0.6661 MB / 436.3 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/0.2865, allocations: 11.94 kB / 436.3 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001864/0.2867, allocations: 31.59 kB / 436.3 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001503/0.2869, allocations: 71.36 kB / 436.4 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003009/0.2872, allocations: 71.89 kB / 436.5 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003299/0.2875, allocations: 262.8 kB / 436.7 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001988/0.2877, allocations: 77.62 kB / 436.8 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002219/0.2879, allocations: 107.6 kB / 436.9 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001915/0.2881, allocations: 107.5 kB / 437 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.571e-05/0.2881, allocations: 20 kB / 437 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.581e-05/0.2882, allocations: 28 kB / 437.1 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.123e-05/0.2882, allocations: 43.78 kB / 437.1 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.2884, allocations: 127.4 kB / 437.2 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003698/0.2888, allocations: 264.1 kB / 437.5 MB, free: 2.609 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.2888, allocations: 0 / 437.5 MB, free: 2.609 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2888, allocations: 0 / 437.5 MB, free: 2.609 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.2888, allocations: 4 kB / 437.5 MB, free: 2.605 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.0008428/0.2896, allocations: 465.5 kB / 437.9 MB, free: 2.121 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.2896, allocations: 8.031 kB / 438 MB, free: 2.113 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002434/0.2899, allocations: 48.72 kB / 438 MB, free: 2.066 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003567/0.2902, allocations: 187 kB / 438.2 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.2903, allocations: 16.81 kB / 438.2 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.872e-05/0.2903, allocations: 20.33 kB / 438.2 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004547/0.2908, allocations: 225.3 kB / 438.4 MB, free: 1.594 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.2908, allocations: 3.938 kB / 438.4 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.2908, allocations: 4 kB / 438.5 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/0.2908, allocations: 8 kB / 438.5 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003395/0.2912, allocations: 147.9 kB / 438.6 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.2924, allocations: 0.7433 MB / 439.3 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004536/0.2929, allocations: 197 kB / 439.5 MB, free: 428 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002353/0.2931, allocations: 89.67 kB / 439.6 MB, free: 332 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.198e-05/0.2931, allocations: 4 kB / 439.6 MB, free: 328 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.58e-05/0.2932, allocations: 50.62 kB / 439.7 MB, free: 268 kB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.403e-06/0.2932, allocations: 0 / 439.7 MB, free: 268 kB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.001656/0.2948, allocations: 0.7198 MB / 440.4 MB, free: 15.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.576e-05/0.2949, allocations: 85.11 kB / 440.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.2951, allocations: 179.2 kB / 440.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.836e-05/0.2951, allocations: 33.7 kB / 440.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.2952, allocations: 140.5 kB / 440.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.173e-05/0.2953, allocations: 103.1 kB / 440.9 MB, free: 14.92 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.955e-05/0.2954, allocations: 45.7 kB / 441 MB, free: 14.87 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.2956, allocations: 330.8 kB / 441.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.2957, allocations: 67.97 kB / 441.4 MB, free: 14.47 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.2959, allocations: 104.2 kB / 441.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003589/0.2963, allocations: 188.2 kB / 441.6 MB, free: 14.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.2963, allocations: 0 / 441.6 MB, free: 14.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004604/0.2967, allocations: 252 kB / 441.9 MB, free: 13.9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.2967, allocations: 7.938 kB / 441.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.2968, allocations: 4 kB / 441.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.2968, allocations: 4 kB / 441.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002574/0.297, allocations: 64 kB / 442 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.297, allocations: 4 kB / 442 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.2972, allocations: 8 kB / 442 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.2972, allocations: 12 kB / 442 MB, free: 13.8 MB / 350.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.0001475/0.2973, allocations: 142.2 kB / 442.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.304e-05/0.2974, allocations: 23.86 kB / 442.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.521e-05/0.2975, allocations: 25.81 kB / 442.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.2975, allocations: 4 kB / 442.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.2975, allocations: 4 kB / 442.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.2975, allocations: 3.984 kB / 442.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009403/0.2984, allocations: 0.5621 MB / 442.8 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2984, allocations: 0 / 442.8 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002679/0.2987, allocations: 55.91 kB / 442.8 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.2987, allocations: 8.094 kB / 442.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.2987, allocations: 4 kB / 442.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.308e-06/0.2987, allocations: 11.92 kB / 442.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.2987, allocations: 3.938 kB / 442.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007043/0.2994, allocations: 493 kB / 443.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.537e-05/0.2995, allocations: 15.91 kB / 443.3 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.377e-05/0.2995, allocations: 4 kB / 443.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.2997, allocations: 12.03 kB / 443.4 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.962e-05/0.2997, allocations: 27.84 kB / 443.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.2997, allocations: 8 kB / 443.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001154/0.2999, allocations: 136.5 kB / 443.5 MB, free: 12.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2999, allocations: 0 / 443.5 MB, free: 12.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003466/0.3002, allocations: 52 kB / 443.6 MB, free: 12.13 MB / 350.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.0001266/0.3003, allocations: 103.2 kB / 443.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004118/0.3007, allocations: 167.8 kB / 443.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3008, allocations: 0 / 443.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001759/0.3009, allocations: 91.97 kB / 443.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004921/0.3014, allocations: 55.59 kB / 444 MB, free: 11.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.3027, allocations: 0.7121 MB / 444.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.3031, allocations: 0.748 MB / 445.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.294e-05/0.3032, allocations: 19.44 kB / 445.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3032, allocations: 0 / 445.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of Templates: time 0.005154/0.3083, allocations: 2.671 MB / 448.1 MB, free: 7.492 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.109218969009817]