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.001861/0.001861, allocations: 103.5 kB / 20.97 MB, free: 3.449 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.001917/0.001917, allocations: 156.8 kB / 24.27 MB, free: 152 kB / 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.537/1.537, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 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 1.523e-06/1.523e-06, allocations: 0 / 272.2 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.475e-05/2.627e-05, allocations: 2.312 kB / 272.2 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.004116/0.004142, allocations: 2.429 MB / 274.6 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.005406, allocations: 0.6349 MB / 275.2 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.005518, allocations: 4 kB / 275.2 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001534/0.005671, allocations: 43.52 kB / 275.3 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001512/0.005822, allocations: 67.36 kB / 275.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000288/0.00611, allocations: 83.75 kB / 275.4 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003627/0.006473, allocations: 270.6 kB / 275.7 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001882/0.006661, allocations: 73.69 kB / 275.8 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002952/0.006956, allocations: 147.7 kB / 275.9 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001753/0.007132, allocations: 83.72 kB / 276 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.568e-05/0.007177, allocations: 20 kB / 276 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.622e-05/0.007254, allocations: 23.98 kB / 276 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.401e-05/0.007318, allocations: 47.83 kB / 276.1 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.007429, allocations: 79.81 kB / 276.2 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004154/0.007845, allocations: 271 kB / 276.4 MB, free: 13.56 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.007849, allocations: 0 / 276.4 MB, free: 13.56 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.00785, allocations: 0 / 276.4 MB, free: 13.56 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.804e-06/0.007858, allocations: 4 kB / 276.4 MB, free: 13.55 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.0009319/0.00879, allocations: 0.5621 MB / 277 MB, free: 12.96 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.008826, allocations: 11.98 kB / 277 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002568/0.009083, allocations: 60.73 kB / 277.1 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003098/0.009393, allocations: 192.2 kB / 277.2 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.009418, allocations: 20.88 kB / 277.3 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.877e-05/0.009466, allocations: 24.33 kB / 277.3 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004227/0.009889, allocations: 220.4 kB / 277.5 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.009909, allocations: 8.172 kB / 277.5 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.009934, allocations: 11.94 kB / 277.5 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.009941, allocations: 4 kB / 277.5 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003393/0.01028, allocations: 131.9 kB / 277.7 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/0.01162, allocations: 0.8088 MB / 278.5 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004486/0.01207, allocations: 210 kB / 278.7 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002531/0.01233, allocations: 95.33 kB / 278.8 MB, free: 11.06 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.086e-05/0.01236, allocations: 8 kB / 278.8 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.075e-05/0.0124, allocations: 41.38 kB / 278.8 MB, free: 11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.212e-06/0.0124, allocations: 0 / 278.8 MB, free: 11 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.00165/0.01405, allocations: 0.7222 MB / 279.5 MB, free: 10.21 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.447e-05/0.01411, allocations: 88.98 kB / 279.6 MB, free: 10.11 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002339/0.01435, allocations: 245.8 kB / 279.9 MB, free: 9.852 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.262e-05/0.01438, allocations: 33.7 kB / 279.9 MB, free: 9.812 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.01452, allocations: 191.2 kB / 280.1 MB, free: 9.621 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.01462, allocations: 107.1 kB / 280.2 MB, free: 9.516 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.704e-05/0.01472, allocations: 59.36 kB / 280.2 MB, free: 9.449 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002788/0.015, allocations: 0.5118 MB / 280.8 MB, free: 8.926 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.01516, allocations: 59.98 kB / 280.8 MB, free: 8.867 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/0.01536, allocations: 123.5 kB / 280.9 MB, free: 8.727 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003758/0.01573, allocations: 209.6 kB / 281.1 MB, free: 8.504 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.01574, allocations: 4 kB / 281.1 MB, free: 8.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004981/0.01624, allocations: 249.6 kB / 281.4 MB, free: 8.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.01625, allocations: 12.09 kB / 281.4 MB, free: 8.238 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.01626, allocations: 3.938 kB / 281.4 MB, free: 8.234 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.01627, allocations: 0 / 281.4 MB, free: 8.234 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002602/0.01653, allocations: 63.91 kB / 281.5 MB, free: 8.172 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.01654, allocations: 4 kB / 281.5 MB, free: 8.168 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.01664, allocations: 8 kB / 281.5 MB, free: 8.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.01666, allocations: 8 kB / 281.5 MB, free: 8.152 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.0001601/0.01682, allocations: 180.5 kB / 281.7 MB, free: 7.965 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.999e-05/0.0169, allocations: 31.86 kB / 281.7 MB, free: 7.934 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.517e-05/0.01698, allocations: 33.73 kB / 281.7 MB, free: 7.902 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.01698, allocations: 8 kB / 281.7 MB, free: 7.895 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.01699, allocations: 0 / 281.7 MB, free: 7.895 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.01699, allocations: 0 / 281.7 MB, free: 7.895 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009485/0.01794, allocations: 0.586 MB / 282.3 MB, free: 7.254 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.01794, allocations: 0 / 282.3 MB, free: 7.254 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003887/0.01833, allocations: 55.91 kB / 282.4 MB, free: 7.199 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.01834, allocations: 0 / 282.4 MB, free: 7.199 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/0.01836, allocations: 8 kB / 282.4 MB, free: 7.191 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.642e-06/0.01836, allocations: 8.094 kB / 282.4 MB, free: 7.184 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.01837, allocations: 0 / 282.4 MB, free: 7.184 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008234/0.01919, allocations: 0.5915 MB / 283 MB, free: 6.559 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.42e-05/0.01922, allocations: 15.86 kB / 283 MB, free: 6.543 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/0.01926, allocations: 11.94 kB / 283 MB, free: 6.531 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.01942, allocations: 11.98 kB / 283 MB, free: 6.52 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.428e-05/0.01948, allocations: 23.91 kB / 283 MB, free: 6.496 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.0195, allocations: 4 kB / 283 MB, free: 6.492 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001972/0.0197, allocations: 179.7 kB / 283.2 MB, free: 6.316 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.0197, allocations: 4 kB / 283.2 MB, free: 6.312 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000602/0.0203, allocations: 51.94 kB / 283.3 MB, free: 6.262 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.0001746/0.02048, allocations: 99.23 kB / 283.4 MB, free: 6.156 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005665/0.02104, allocations: 191.4 kB / 283.6 MB, free: 5.965 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.02104, allocations: 0 / 283.6 MB, free: 5.965 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002704/0.02132, allocations: 103.8 kB / 283.7 MB, free: 5.859 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007481/0.02206, allocations: 54.92 kB / 283.7 MB, free: 5.809 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.0236, allocations: 0.6064 MB / 284.3 MB, free: 5.148 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00016/0.02376, allocations: 141.8 kB / 284.5 MB, free: 4.992 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001042/0.02387, allocations: 17.95 kB / 284.5 MB, free: 4.973 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.861e-05/0.02394, allocations: 24.48 kB / 284.5 MB, free: 4.949 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.02394, allocations: 4 kB / 284.5 MB, free: 4.945 MB / 266.7 MB Notification: Performance of Templates: time 0.006233/0.03017, allocations: 1.999 MB / 286.5 MB, free: 2.984 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","/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.298595580039546]