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.00178/0.00178, allocations: 104.7 kB / 19.8 MB, free: 2.516 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.002259/0.002259, allocations: 213.3 kB / 22.99 MB, free: 5.609 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.452/1.452, allocations: 230.2 MB / 256.2 MB, free: 8.562 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.001842/0.001842, allocations: 67.89 kB / 376.5 MB, free: 3.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2388, allocations: 53.32 MB / 429.8 MB, free: 7.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.004064/0.2429, allocations: 2.465 MB / 432.3 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001407/0.2443, allocations: 0.6661 MB / 432.9 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.2444, allocations: 4 kB / 432.9 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001708/0.2446, allocations: 35.59 kB / 433 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001514/0.2448, allocations: 79.33 kB / 433 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003097/0.2451, allocations: 71.84 kB / 433.1 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003205/0.2454, allocations: 258.8 kB / 433.4 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000187/0.2456, allocations: 69.36 kB / 433.4 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002099/0.2458, allocations: 107.6 kB / 433.5 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.2459, allocations: 107.5 kB / 433.6 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.452e-05/0.246, allocations: 20 kB / 433.7 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.69e-05/0.246, allocations: 31.98 kB / 433.7 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.361e-05/0.2461, allocations: 47.83 kB / 433.7 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.2462, allocations: 119.4 kB / 433.8 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003582/0.2466, allocations: 260.2 kB / 434.1 MB, free: 3.215 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2466, allocations: 0 / 434.1 MB, free: 3.215 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2466, allocations: 0 / 434.1 MB, free: 3.215 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.944e-06/0.2466, allocations: 0 / 434.1 MB, free: 3.215 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.0008156/0.2474, allocations: 0.5416 MB / 434.6 MB, free: 2.625 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.2474, allocations: 8.031 kB / 434.7 MB, free: 2.617 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002203/0.2476, allocations: 44.73 kB / 434.7 MB, free: 2.574 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.2479, allocations: 240 kB / 434.9 MB, free: 2.301 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.2479, allocations: 16.81 kB / 434.9 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.63e-05/0.248, allocations: 20.38 kB / 435 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004132/0.2484, allocations: 229.2 kB / 435.2 MB, free: 2.031 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.2484, allocations: 0 / 435.2 MB, free: 2.031 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.2484, allocations: 4 kB / 435.2 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.2485, allocations: 8 kB / 435.2 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003332/0.2488, allocations: 147.5 kB / 435.3 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/0.2499, allocations: 0.795 MB / 436.1 MB, free: 1.016 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003902/0.2503, allocations: 188.9 kB / 436.3 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000218/0.2505, allocations: 97.83 kB / 436.4 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/0.2506, allocations: 11.98 kB / 436.4 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.2506, allocations: 38.62 kB / 436.5 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.363e-06/0.2506, allocations: 0 / 436.5 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.001579/0.2522, allocations: 0.8671 MB / 437.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.2522, allocations: 81.11 kB / 437.4 MB, free: 15.6 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.2524, allocations: 182.8 kB / 437.6 MB, free: 15.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.2524, allocations: 29.7 kB / 437.6 MB, free: 15.37 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.798e-05/0.2525, allocations: 148.5 kB / 437.8 MB, free: 15.22 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.864e-05/0.2526, allocations: 99.11 kB / 437.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.135e-05/0.2527, allocations: 49.7 kB / 437.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.2528, allocations: 326.8 kB / 438.2 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.253, allocations: 67.95 kB / 438.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/0.2531, allocations: 112.2 kB / 438.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003235/0.2535, allocations: 186.9 kB / 438.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.2535, allocations: 0 / 438.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004248/0.2539, allocations: 245.3 kB / 438.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.2539, allocations: 8 kB / 438.8 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.2539, allocations: 0 / 438.8 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.2539, allocations: 4 kB / 438.8 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002533/0.2542, allocations: 59.91 kB / 438.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.2542, allocations: 0 / 438.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.2543, allocations: 15.98 kB / 438.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.2543, allocations: 12 kB / 438.9 MB, free: 14.01 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.0001291/0.2544, allocations: 145.8 kB / 439.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.164e-05/0.2545, allocations: 23.86 kB / 439.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.312e-05/0.2546, allocations: 29.86 kB / 439.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.2546, allocations: 0 / 439.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.2546, allocations: 4 kB / 439.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.2546, allocations: 0 / 439.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008806/0.2555, allocations: 0.5942 MB / 439.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.2555, allocations: 4 kB / 439.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002721/0.2557, allocations: 51.97 kB / 439.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.2557, allocations: 3.938 kB / 439.8 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.2558, allocations: 8 kB / 439.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.2558, allocations: 7.938 kB / 439.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.2558, allocations: 3.938 kB / 439.8 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006976/0.2565, allocations: 0.4885 MB / 440.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.016e-05/0.2565, allocations: 89.02 kB / 440.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.53e-05/0.2566, allocations: 11.94 kB / 440.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.2567, allocations: 16.03 kB / 440.4 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.103e-05/0.2568, allocations: 23.86 kB / 440.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.2568, allocations: 8 kB / 440.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000111/0.2569, allocations: 136.9 kB / 440.6 MB, free: 12.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2569, allocations: 0 / 440.6 MB, free: 12.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003314/0.2572, allocations: 52 kB / 440.6 MB, free: 12.2 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.0001388/0.2574, allocations: 107.2 kB / 440.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004044/0.2578, allocations: 167.8 kB / 440.9 MB, free: 11.92 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2578, allocations: 0 / 440.9 MB, free: 11.92 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001828/0.258, allocations: 96.03 kB / 441 MB, free: 11.83 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004709/0.2584, allocations: 40.44 kB / 441 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.2596, allocations: 0.6984 MB / 441.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/0.26, allocations: 0.748 MB / 442.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.073e-05/0.2601, allocations: 17.94 kB / 442.5 MB, free: 10.26 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.499e-05/0.2601, allocations: 23.44 kB / 442.5 MB, free: 10.24 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2601, allocations: 0 / 442.5 MB, free: 10.24 MB / 350.1 MB Notification: Performance of Templates: time 0.005584/0.2657, allocations: 2.143 MB / 444.6 MB, free: 8.117 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.374331193044782]