Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator") translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 221.5 MB / 230.3 MB, free: 7.508 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009358/0.0009362, allocations: 100.5 kB / 281.2 MB, free: 5.254 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.246e-05/1.248e-05, allocations: 0 / 337 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09342/0.09345, allocations: 50.42 MB / 387.5 MB, free: 7.559 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3268/0.4203, allocations: 77.5 MB / 465 MB, free: 1.348 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/0.4206, allocations: 75.95 kB / 465 MB, free: 1.273 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01079/0.4315, allocations: 3.884 MB / 468.9 MB, free: 13.39 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4315, allocations: 0 / 468.9 MB, free: 13.39 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.516e-05/0.4315, allocations: 4 kB / 468.9 MB, free: 13.38 MB / 346.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.0006857/0.4322, allocations: 478.9 kB / 469.4 MB, free: 12.87 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.4323, allocations: 11.97 kB / 469.4 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.01e-05/0.4324, allocations: 23.72 kB / 469.4 MB, free: 12.83 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/0.4326, allocations: 227.4 kB / 469.6 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.4326, allocations: 12 kB / 469.7 MB, free: 12.55 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.263e-05/0.4327, allocations: 15.91 kB / 469.7 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002417/0.4329, allocations: 108.8 kB / 469.8 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003209/0.4333, allocations: 173.2 kB / 469.9 MB, free: 12.26 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.4333, allocations: 4 kB / 470 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.4333, allocations: 3.938 kB / 470 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.4333, allocations: 4 kB / 470 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.4344, allocations: 0.7536 MB / 470.7 MB, free: 11.44 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003222/0.4348, allocations: 177 kB / 470.9 MB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.435, allocations: 93.64 kB / 471 MB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.435, allocations: 0 / 471 MB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.435, allocations: 42.55 kB / 471 MB, free: 11.1 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 1.122e-06/0.435, allocations: 448 / 471 MB, free: 11.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=26): time 0.00113/0.4362, allocations: 0.7139 MB / 471.7 MB, free: 10.29 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.4362, allocations: 81.09 kB / 471.8 MB, free: 10.2 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.4364, allocations: 138.7 kB / 471.9 MB, free: 10.05 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.4364, allocations: 33.64 kB / 472 MB, free: 10.02 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.644e-05/0.4365, allocations: 136.4 kB / 472.1 MB, free: 9.879 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.075e-05/0.4366, allocations: 90.66 kB / 472.2 MB, free: 9.789 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.019e-05/0.4366, allocations: 0 / 472.2 MB, free: 9.789 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.4367, allocations: 338.8 kB / 472.5 MB, free: 9.449 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.447e-05/0.4368, allocations: 48 kB / 472.6 MB, free: 9.402 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.4369, allocations: 93.48 kB / 472.7 MB, free: 9.297 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.4371, allocations: 60.05 kB / 472.7 MB, free: 9.238 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.4371, allocations: 0 / 472.7 MB, free: 9.238 MB / 346.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002933/0.4374, allocations: 207.5 kB / 472.9 MB, free: 9.031 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.4374, allocations: 5.406 kB / 472.9 MB, free: 9.027 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.4374, allocations: 0 / 472.9 MB, free: 9.027 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.4375, allocations: 4 kB / 472.9 MB, free: 9.023 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002574/0.4377, allocations: 59.91 kB / 473 MB, free: 8.965 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.4377, allocations: 4 kB / 473 MB, free: 8.961 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.4379, allocations: 11.91 kB / 473 MB, free: 8.949 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.4379, allocations: 12.09 kB / 473 MB, free: 8.938 MB / 346.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.263e-05/0.438, allocations: 116.9 kB / 473.1 MB, free: 8.816 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.527e-05/0.438, allocations: 15.81 kB / 473.2 MB, free: 8.801 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.442e-05/0.4381, allocations: 21.97 kB / 473.2 MB, free: 8.781 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.4381, allocations: 8 kB / 473.2 MB, free: 8.773 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.4381, allocations: 0 / 473.2 MB, free: 8.773 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.4381, allocations: 3.984 kB / 473.2 MB, free: 8.77 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007011/0.4389, allocations: 0.5231 MB / 473.7 MB, free: 8.195 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.4389, allocations: 0 / 473.7 MB, free: 8.195 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002761/0.4392, allocations: 63.89 kB / 473.8 MB, free: 8.133 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.4392, allocations: 0 / 473.8 MB, free: 8.133 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.4392, allocations: 8 kB / 473.8 MB, free: 8.125 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.4392, allocations: 8.094 kB / 473.8 MB, free: 8.117 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.4392, allocations: 0 / 473.8 MB, free: 8.117 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005173/0.4397, allocations: 495.7 kB / 474.3 MB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-05/0.4398, allocations: 88.92 kB / 474.4 MB, free: 7.477 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.42e-05/0.4398, allocations: 8 kB / 474.4 MB, free: 7.469 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.44, allocations: 11.97 kB / 474.4 MB, free: 7.457 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.369e-05/0.4401, allocations: 15.92 kB / 474.4 MB, free: 7.441 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.4401, allocations: 12 kB / 474.4 MB, free: 7.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.362e-05/0.4402, allocations: 115.5 kB / 474.5 MB, free: 7.316 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4402, allocations: 0 / 474.5 MB, free: 7.316 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000324/0.4405, allocations: 40 kB / 474.6 MB, free: 7.277 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (mass1.s,mass1.v,damper1.s_rel,damper1.v_rel) * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000153/0.4407, allocations: 107.2 kB / 474.7 MB, free: 7.16 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002641/0.4409, allocations: 147.8 kB / 474.8 MB, free: 7.016 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.441, allocations: 0 / 474.8 MB, free: 7.016 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.4411, allocations: 76.12 kB / 474.9 MB, free: 6.941 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.4415, allocations: 32.14 kB / 474.9 MB, free: 6.91 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009675/0.4425, allocations: 0.5242 MB / 475.4 MB, free: 6.352 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.4428, allocations: 0.7557 MB / 476.2 MB, free: 5.57 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.527e-05/0.4429, allocations: 22.08 kB / 476.2 MB, free: 5.551 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.495e-05/0.4429, allocations: 23.42 kB / 476.2 MB, free: 5.527 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.443, allocations: 0 / 476.2 MB, free: 5.527 MB / 346.7 MB Notification: Performance of Templates: time 0.004332/0.4473, allocations: 1.668 MB / 477.9 MB, free: 3.879 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches