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.0009335/0.0009335, allocations: 84.25 kB / 22.21 MB, free: 2.285 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.001057/0.001057, allocations: 161.2 kB / 25.61 MB, free: 8.887 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 0.9594/0.9594, allocations: 177 MB / 205.9 MB, free: 4.441 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.232e-06/1.232e-06, allocations: 0 / 274.1 MB, free: 4.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.151e-05/2.274e-05, allocations: 2.312 kB / 274.1 MB, free: 4.301 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.002498/0.002521, allocations: 2.433 MB / 276.5 MB, free: 1.867 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007489/0.003269, allocations: 0.6398 MB / 277.2 MB, free: 1.227 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.05e-05/0.00336, allocations: 4 kB / 277.2 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001266/0.003487, allocations: 43.52 kB / 277.2 MB, free: 1.18 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.723e-05/0.003584, allocations: 73.34 kB / 277.3 MB, free: 1.109 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/0.003797, allocations: 81.8 kB / 277.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000198/0.003995, allocations: 266.7 kB / 277.6 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.004127, allocations: 65.69 kB / 277.7 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001697/0.004297, allocations: 159.7 kB / 277.8 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.004403, allocations: 80.27 kB / 277.9 MB, free: 480 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.004428, allocations: 20 kB / 277.9 MB, free: 460 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.479e-05/0.004483, allocations: 31.94 kB / 278 MB, free: 428 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.759e-05/0.004511, allocations: 43.83 kB / 278 MB, free: 384 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.523e-05/0.004566, allocations: 79.83 kB / 278.1 MB, free: 304 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.004743, allocations: 179.2 kB / 278.3 MB, free: 124 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.004746, allocations: 4 kB / 278.3 MB, free: 120 kB / 250.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.004747, allocations: 0 / 278.3 MB, free: 120 kB / 250.7 MB Notification: Performance of Transformations before backend: time 3.828e-06/0.004751, allocations: 0 / 278.3 MB, free: 120 kB / 250.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.0005493/0.0053, allocations: 0.5507 MB / 278.8 MB, free: 15.53 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.005334, allocations: 8.031 kB / 278.8 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001617/0.005495, allocations: 60.73 kB / 278.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.00568, allocations: 192.2 kB / 279.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.005695, allocations: 16.88 kB / 279.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.961e-05/0.005725, allocations: 28.27 kB / 279.1 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.005905, allocations: 181.1 kB / 279.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.005915, allocations: 192 / 279.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.005931, allocations: 19.94 kB / 279.3 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.005938, allocations: 4 kB / 279.3 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.143e-05/0.006019, allocations: 60.67 kB / 279.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005845/0.006604, allocations: 0.7001 MB / 280.1 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.006789, allocations: 158 kB / 280.2 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.075e-05/0.00687, allocations: 71.22 kB / 280.3 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.006885, allocations: 4 kB / 280.3 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.006905, allocations: 41.39 kB / 280.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.122e-06/0.006906, allocations: 0 / 280.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.0006902/0.007596, allocations: 0.5345 MB / 280.9 MB, free: 13.28 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.007629, allocations: 81.11 kB / 281 MB, free: 13.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.659e-05/0.007726, allocations: 221.8 kB / 281.2 MB, free: 12.95 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.007741, allocations: 29.7 kB / 281.2 MB, free: 12.91 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.893e-05/0.00781, allocations: 187.2 kB / 281.4 MB, free: 12.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.668e-05/0.007856, allocations: 111 kB / 281.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.251e-05/0.007909, allocations: 55.33 kB / 281.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.008017, allocations: 0.5001 MB / 282.1 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.429e-05/0.008051, allocations: 23.97 kB / 282.1 MB, free: 12.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.826e-05/0.00811, allocations: 83.44 kB / 282.2 MB, free: 11.92 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.008217, allocations: 124.2 kB / 282.3 MB, free: 11.78 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.008218, allocations: 0 / 282.3 MB, free: 11.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001744/0.008393, allocations: 180 kB / 282.5 MB, free: 11.6 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.659e-06/0.008402, allocations: 4 kB / 282.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.008406, allocations: 400 / 282.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.659e-06/0.008416, allocations: 7.938 kB / 282.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.008551, allocations: 63.91 kB / 282.5 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.008554, allocations: 0 / 282.5 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.801e-05/0.008602, allocations: 11.95 kB / 282.5 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.008614, allocations: 11.98 kB / 282.6 MB, free: 11.5 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 7.7e-05/0.008691, allocations: 168.5 kB / 282.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.158e-05/0.008733, allocations: 35.98 kB / 282.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.429e-05/0.008767, allocations: 25.81 kB / 282.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.008771, allocations: 7.938 kB / 282.8 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.008772, allocations: 0 / 282.8 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.008777, allocations: 3.984 kB / 282.8 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004112/0.009188, allocations: 484.5 kB / 283.3 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.009191, allocations: 3.938 kB / 283.3 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/0.00933, allocations: 59.91 kB / 283.3 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.009332, allocations: 4.094 kB / 283.3 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.009342, allocations: 7.938 kB / 283.3 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.249e-06/0.009347, allocations: 7.984 kB / 283.3 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.009349, allocations: 3.984 kB / 283.4 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.009619, allocations: 483.6 kB / 283.8 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.901e-05/0.009638, allocations: 31.77 kB / 283.9 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.009656, allocations: 8 kB / 283.9 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.705e-05/0.009733, allocations: 8 kB / 283.9 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.391e-05/0.009767, allocations: 15.97 kB / 283.9 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.009775, allocations: 8 kB / 283.9 MB, free: 10.07 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.452e-05/0.009829, allocations: 167.6 kB / 284.1 MB, free: 9.91 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009829, allocations: 0 / 284.1 MB, free: 9.91 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002028/0.01003, allocations: 52 kB / 284.1 MB, free: 9.859 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 7.391e-05/0.01011, allocations: 103.2 kB / 284.2 MB, free: 9.75 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001468/0.01025, allocations: 118.1 kB / 284.3 MB, free: 9.633 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.01025, allocations: 0 / 284.3 MB, free: 9.633 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.036e-05/0.01031, allocations: 63.83 kB / 284.4 MB, free: 9.566 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.01061, allocations: 43.98 kB / 284.4 MB, free: 9.523 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007577/0.01136, allocations: 0.5909 MB / 285 MB, free: 8.879 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.513e-05/0.01142, allocations: 87.84 kB / 285.1 MB, free: 8.773 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.485e-05/0.01147, allocations: 25.92 kB / 285.1 MB, free: 8.75 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.364e-05/0.01157, allocations: 106.2 kB / 285.2 MB, free: 8.645 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01157, allocations: 0 / 285.2 MB, free: 8.645 MB / 266.7 MB Notification: Performance of Templates: time 0.003592/0.01516, allocations: 2.232 MB / 287.5 MB, free: 6.465 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.624057204928249]