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.0009359/0.0009359, allocations: 91.5 kB / 21.2 MB, free: 3.379 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.001458/0.001458, allocations: 156.5 kB / 24.55 MB, free: 24 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 0.9788/0.9788, allocations: 177 MB / 204.8 MB, free: 5.199 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.794e-06/1.794e-06, allocations: 0 / 272.9 MB, free: 1.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.361e-05/2.541e-05, allocations: 2.312 kB / 272.9 MB, free: 1.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.002754/0.002779, allocations: 2.46 MB / 275.4 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009623/0.003741, allocations: 0.6464 MB / 276 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.003852, allocations: 7.938 kB / 276 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001307/0.003983, allocations: 35.66 kB / 276 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.004087, allocations: 75.23 kB / 276.1 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002829/0.00437, allocations: 75.89 kB / 276.2 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002353/0.004605, allocations: 270.7 kB / 276.5 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.004765, allocations: 65.69 kB / 276.5 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000208/0.004973, allocations: 163.5 kB / 276.7 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.00509, allocations: 75.78 kB / 276.8 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.932e-05/0.00512, allocations: 20 kB / 276.8 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.692e-05/0.005177, allocations: 32 kB / 276.8 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.507e-05/0.005212, allocations: 51.75 kB / 276.9 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.856e-05/0.00528, allocations: 83.81 kB / 276.9 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002566/0.005537, allocations: 167.4 kB / 277.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.005539, allocations: 0 / 277.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.00554, allocations: 0 / 277.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.005546, allocations: 3.984 kB / 277.1 MB, free: 13.05 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.0006103/0.006156, allocations: 0.5623 MB / 277.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.006198, allocations: 11.98 kB / 277.7 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/0.00636, allocations: 56.73 kB / 277.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.006577, allocations: 188.2 kB / 277.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.006593, allocations: 16.88 kB / 277.9 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.051e-05/0.006634, allocations: 20.38 kB / 278 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/0.006894, allocations: 197 kB / 278.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.006906, allocations: 192 / 278.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.887e-05/0.006925, allocations: 19.94 kB / 278.2 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.006935, allocations: 4 kB / 278.2 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.007062, allocations: 71.94 kB / 278.2 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008577/0.007919, allocations: 0.7385 MB / 279 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002543/0.008174, allocations: 162 kB / 279.1 MB, free: 10.87 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.008292, allocations: 75.34 kB / 279.2 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.008313, allocations: 4 kB / 279.2 MB, free: 10.78 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.008335, allocations: 37.33 kB / 279.3 MB, free: 10.73 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.243e-06/0.008336, allocations: 0 / 279.3 MB, free: 10.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.0008718/0.009208, allocations: 0.6205 MB / 279.9 MB, free: 10.05 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.009243, allocations: 81.11 kB / 280 MB, free: 9.957 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.00936, allocations: 221.9 kB / 280.2 MB, free: 9.723 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.009381, allocations: 29.7 kB / 280.2 MB, free: 9.688 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.335e-05/0.009474, allocations: 191.1 kB / 280.4 MB, free: 9.496 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.241e-05/0.009526, allocations: 99.17 kB / 280.5 MB, free: 9.398 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.105e-05/0.009587, allocations: 51.36 kB / 280.5 MB, free: 9.34 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.009733, allocations: 0.504 MB / 281 MB, free: 8.824 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.66e-05/0.009789, allocations: 27.98 kB / 281.1 MB, free: 8.797 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.827e-05/0.009878, allocations: 91.44 kB / 281.2 MB, free: 8.688 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.01003, allocations: 145.8 kB / 281.3 MB, free: 8.527 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.01003, allocations: 0 / 281.3 MB, free: 8.527 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002135/0.01024, allocations: 201.6 kB / 281.5 MB, free: 8.324 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.01026, allocations: 8 kB / 281.5 MB, free: 8.316 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.01026, allocations: 3.938 kB / 281.5 MB, free: 8.312 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.01028, allocations: 0 / 281.5 MB, free: 8.312 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.01042, allocations: 55.97 kB / 281.6 MB, free: 8.258 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/0.01043, allocations: 7.938 kB / 281.6 MB, free: 8.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.773e-05/0.01047, allocations: 15.92 kB / 281.6 MB, free: 8.234 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.01049, allocations: 12 kB / 281.6 MB, free: 8.223 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 8.118e-05/0.01057, allocations: 172.5 kB / 281.8 MB, free: 8.043 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.976e-05/0.01061, allocations: 27.95 kB / 281.8 MB, free: 8.016 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.081e-05/0.01065, allocations: 33.73 kB / 281.8 MB, free: 7.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.01065, allocations: 4 kB / 281.8 MB, free: 7.977 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.01066, allocations: 4 kB / 281.8 MB, free: 7.973 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.01066, allocations: 0 / 281.8 MB, free: 7.973 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004488/0.01111, allocations: 0.5157 MB / 282.3 MB, free: 7.402 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.01111, allocations: 4 kB / 282.3 MB, free: 7.398 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001345/0.01125, allocations: 51.91 kB / 282.4 MB, free: 7.348 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.01125, allocations: 8.094 kB / 282.4 MB, free: 7.34 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.01126, allocations: 8 kB / 282.4 MB, free: 7.332 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.01127, allocations: 0 / 282.4 MB, free: 7.332 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.01127, allocations: 4 kB / 282.4 MB, free: 7.328 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003492/0.01162, allocations: 0.49 MB / 282.9 MB, free: 6.805 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.723e-05/0.01163, allocations: 19.86 kB / 282.9 MB, free: 6.785 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.01166, allocations: 11.98 kB / 282.9 MB, free: 6.773 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.622e-05/0.01173, allocations: 8 kB / 282.9 MB, free: 6.766 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/0.01178, allocations: 15.97 kB / 283 MB, free: 6.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.01179, allocations: 8 kB / 283 MB, free: 6.742 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.496e-05/0.01185, allocations: 167.7 kB / 283.1 MB, free: 6.578 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01185, allocations: 0 / 283.1 MB, free: 6.578 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002104/0.01206, allocations: 55.94 kB / 283.2 MB, free: 6.523 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 8.181e-05/0.01214, allocations: 107.2 kB / 283.3 MB, free: 6.41 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001999/0.01234, allocations: 127.4 kB / 283.4 MB, free: 6.281 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01234, allocations: 0 / 283.4 MB, free: 6.281 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.683e-05/0.01242, allocations: 75.91 kB / 283.5 MB, free: 6.203 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.01273, allocations: 42.97 kB / 283.5 MB, free: 6.164 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008875/0.01361, allocations: 0.6024 MB / 284.1 MB, free: 5.508 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.592e-05/0.01367, allocations: 83.92 kB / 284.2 MB, free: 5.406 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.449e-05/0.01372, allocations: 21.95 kB / 284.2 MB, free: 5.383 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5e-05/0.01377, allocations: 24.48 kB / 284.3 MB, free: 5.359 MB / 266.7 MB Notification: Performance of SimCode: time 9.21e-07/0.01377, allocations: 3.938 kB / 284.3 MB, free: 5.355 MB / 266.7 MB Notification: Performance of Templates: time 0.003748/0.01752, allocations: 1.993 MB / 286.3 MB, free: 3.398 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.9948438219726086]