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.001918/0.001918, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001874/0.001874, allocations: 213.9 kB / 24.54 MB, free: 4.02 MB / 14.72 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.456/1.456, allocations: 230.3 MB / 258 MB, free: 8.203 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001868/0.001868, allocations: 59.89 kB / 378.7 MB, free: 2.785 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2476, allocations: 53.37 MB / 432.1 MB, free: 7.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003896/0.2515, allocations: 2.46 MB / 434.6 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.2526, allocations: 0.666 MB / 435.2 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.2527, allocations: 4 kB / 435.2 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001449/0.2529, allocations: 43.58 kB / 435.3 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001316/0.253, allocations: 63.36 kB / 435.3 MB, free: 3.801 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003055/0.2533, allocations: 83.83 kB / 435.4 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002951/0.2536, allocations: 258.8 kB / 435.7 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001713/0.2538, allocations: 69.62 kB / 435.8 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001976/0.254, allocations: 111.6 kB / 435.9 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.2542, allocations: 111.5 kB / 436 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.574e-05/0.2542, allocations: 20 kB / 436 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.12e-05/0.2543, allocations: 24 kB / 436 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.725e-05/0.2543, allocations: 47.83 kB / 436.1 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.2544, allocations: 119.4 kB / 436.2 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003391/0.2548, allocations: 268.5 kB / 436.4 MB, free: 2.711 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.2548, allocations: 4 kB / 436.4 MB, free: 2.707 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2548, allocations: 0 / 436.4 MB, free: 2.707 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.2548, allocations: 0 / 436.4 MB, free: 2.707 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.0008207/0.2556, allocations: 461.5 kB / 436.9 MB, free: 2.227 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.2556, allocations: 11.97 kB / 436.9 MB, free: 2.215 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002444/0.2559, allocations: 48.73 kB / 437 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/0.2562, allocations: 190.9 kB / 437.1 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.2562, allocations: 12.81 kB / 437.2 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.502e-05/0.2563, allocations: 24.33 kB / 437.2 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004316/0.2567, allocations: 217.2 kB / 437.4 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.2567, allocations: 4 kB / 437.4 MB, free: 1.695 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.2568, allocations: 12 kB / 437.4 MB, free: 1.684 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.2568, allocations: 4 kB / 437.4 MB, free: 1.68 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003306/0.2571, allocations: 147.9 kB / 437.5 MB, free: 1.535 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.2583, allocations: 0.7512 MB / 438.3 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004259/0.2587, allocations: 193 kB / 438.5 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002359/0.2589, allocations: 97.75 kB / 438.6 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.259, allocations: 8 kB / 438.6 MB, free: 416 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.259, allocations: 42.67 kB / 438.6 MB, free: 364 kB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.433e-06/0.259, allocations: 4 kB / 438.6 MB, free: 360 kB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.001583/0.2606, allocations: 0.7169 MB / 439.4 MB, free: 15.58 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.2606, allocations: 85.09 kB / 439.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.2608, allocations: 179.2 kB / 439.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.2608, allocations: 33.7 kB / 439.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.139e-05/0.2609, allocations: 136.5 kB / 439.8 MB, free: 15.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.266e-05/0.261, allocations: 103 kB / 439.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.864e-05/0.2611, allocations: 49.7 kB / 439.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.2612, allocations: 334.8 kB / 440.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.2614, allocations: 63.97 kB / 440.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/0.2616, allocations: 108.2 kB / 440.4 MB, free: 14.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003503/0.2619, allocations: 187 kB / 440.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.2619, allocations: 0 / 440.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004636/0.2624, allocations: 245.2 kB / 440.8 MB, free: 14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.2624, allocations: 4 kB / 440.8 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.2624, allocations: 8.094 kB / 440.9 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.2624, allocations: 0 / 440.9 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002606/0.2627, allocations: 59.97 kB / 440.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.2627, allocations: 7.938 kB / 440.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.2628, allocations: 11.98 kB / 440.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.2628, allocations: 12 kB / 440.9 MB, free: 13.9 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.0001487/0.263, allocations: 138.2 kB / 441.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.829e-05/0.263, allocations: 27.86 kB / 441.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.935e-05/0.2631, allocations: 33.8 kB / 441.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.2631, allocations: 4 kB / 441.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2631, allocations: 0 / 441.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.2631, allocations: 0 / 441.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008584/0.264, allocations: 0.5543 MB / 441.7 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.264, allocations: 4.094 kB / 441.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002797/0.2643, allocations: 63.91 kB / 441.8 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.2643, allocations: 7.938 kB / 441.8 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.2643, allocations: 4 kB / 441.8 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.2643, allocations: 4 kB / 441.8 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.2643, allocations: 3.938 kB / 441.8 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000693/0.265, allocations: 497.6 kB / 442.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.383e-05/0.265, allocations: 19.94 kB / 442.3 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.224e-05/0.265, allocations: 4 kB / 442.3 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.2652, allocations: 12 kB / 442.3 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.2e-05/0.2653, allocations: 23.91 kB / 442.3 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.2653, allocations: 12 kB / 442.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001098/0.2654, allocations: 132.5 kB / 442.5 MB, free: 12.28 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2654, allocations: 0 / 442.5 MB, free: 12.28 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000333/0.2657, allocations: 48 kB / 442.5 MB, free: 12.23 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.00013/0.2659, allocations: 103.2 kB / 442.6 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004517/0.2663, allocations: 175.9 kB / 442.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2663, allocations: 0 / 442.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001849/0.2665, allocations: 95.77 kB / 442.9 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004694/0.267, allocations: 41.77 kB / 442.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.2682, allocations: 0.6929 MB / 443.6 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/0.2686, allocations: 0.7479 MB / 444.4 MB, free: 10.31 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.589e-05/0.2687, allocations: 25.94 kB / 444.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.498e-05/0.2687, allocations: 19.44 kB / 444.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2687, allocations: 3.938 kB / 444.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of Templates: time 0.006003/0.2747, allocations: 2.196 MB / 446.6 MB, free: 8.086 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.513282583095133]