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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001068/0.001068, allocations: 197.9 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.619/1.619, allocations: 225.6 MB / 234.8 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001003/0.001003, allocations: 98.61 kB / 286.7 MB, free: 5.285 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.869e-05/1.88e-05, allocations: 4 kB / 343.7 MB, free: 8.262 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1511, allocations: 51.48 MB / 395.2 MB, free: 4.738 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5879/0.7391, allocations: 78.32 MB / 473.5 MB, free: 13.47 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003163/0.7395, allocations: 64.97 kB / 473.5 MB, free: 13.45 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01156/0.7511, allocations: 3.971 MB / 477.5 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.7511, allocations: 0 / 477.5 MB, free: 11.18 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.859e-05/0.7512, allocations: 4 kB / 477.5 MB, free: 11.18 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.0005848/0.7518, allocations: 483.6 kB / 478 MB, free: 10.7 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.7519, allocations: 8.031 kB / 478 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002257/0.7521, allocations: 46.09 kB / 478 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.7523, allocations: 229.2 kB / 478.3 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.7523, allocations: 11.61 kB / 478.3 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.451e-05/0.7524, allocations: 15.91 kB / 478.3 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002195/0.7526, allocations: 111.3 kB / 478.4 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.7529, allocations: 169.7 kB / 478.6 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.7529, allocations: 5.625 kB / 478.6 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.7529, allocations: 7.984 kB / 478.6 MB, free: 10.19 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.7529, allocations: 4 kB / 478.6 MB, free: 10.19 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009759/0.7539, allocations: 0.7451 MB / 479.3 MB, free: 9.605 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002804/0.7542, allocations: 167.9 kB / 479.5 MB, free: 9.477 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.7544, allocations: 94.11 kB / 479.6 MB, free: 9.406 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.7544, allocations: 0 / 479.6 MB, free: 9.406 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.7544, allocations: 39.08 kB / 479.6 MB, free: 9.363 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 1.012e-06/0.7545, allocations: 0 / 479.6 MB, free: 9.363 MB / 346.7 MB Notification: Performance of matching and sorting (n=26): time 0.001068/0.7555, allocations: 0.7155 MB / 480.3 MB, free: 8.672 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.7556, allocations: 81.11 kB / 480.4 MB, free: 8.574 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.7557, allocations: 132.9 kB / 480.6 MB, free: 8.457 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.7557, allocations: 28.88 kB / 480.6 MB, free: 8.426 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.039e-05/0.7558, allocations: 147.8 kB / 480.7 MB, free: 8.309 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.244e-05/0.7558, allocations: 89.14 kB / 480.8 MB, free: 8.238 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.457e-06/0.7559, allocations: 0 / 480.8 MB, free: 8.238 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.95e-05/0.7559, allocations: 333.1 kB / 481.1 MB, free: 7.918 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.048e-05/0.756, allocations: 50.56 kB / 481.2 MB, free: 7.891 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.187e-05/0.7561, allocations: 81.66 kB / 481.3 MB, free: 7.82 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.7562, allocations: 68.27 kB / 481.3 MB, free: 7.785 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.7562, allocations: 0 / 481.3 MB, free: 7.785 MB / 346.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002635/0.7565, allocations: 206.9 kB / 481.5 MB, free: 7.633 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.7565, allocations: 5.719 kB / 481.5 MB, free: 7.629 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.7565, allocations: 0 / 481.5 MB, free: 7.629 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.7566, allocations: 4 kB / 481.5 MB, free: 7.625 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/0.7568, allocations: 64.5 kB / 481.6 MB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/0.7568, allocations: 9.547 kB / 481.6 MB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.757, allocations: 13.44 kB / 481.6 MB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.757, allocations: 15.91 kB / 481.6 MB, free: 7.539 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 7.153e-05/0.7571, allocations: 108.9 kB / 481.8 MB, free: 7.426 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.087e-05/0.7571, allocations: 15.81 kB / 481.8 MB, free: 7.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.611e-05/0.7572, allocations: 26.33 kB / 481.8 MB, free: 7.406 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.7572, allocations: 4 kB / 481.8 MB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.7572, allocations: 0 / 481.8 MB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.7572, allocations: 5.453 kB / 481.8 MB, free: 7.398 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006548/0.7579, allocations: 0.5201 MB / 482.3 MB, free: 6.965 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.7579, allocations: 0 / 482.3 MB, free: 6.965 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002575/0.7582, allocations: 59.91 kB / 482.4 MB, free: 6.906 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.7582, allocations: 0 / 482.4 MB, free: 6.906 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.7582, allocations: 8.391 kB / 482.4 MB, free: 6.898 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.7582, allocations: 4.094 kB / 482.4 MB, free: 6.895 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.401e-06/0.7582, allocations: 4 kB / 482.4 MB, free: 6.891 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004608/0.7587, allocations: 493.5 kB / 482.9 MB, free: 6.438 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.219e-05/0.7587, allocations: 104.4 kB / 483 MB, free: 6.32 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.98e-05/0.7588, allocations: 0 / 483 MB, free: 6.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.7589, allocations: 12.03 kB / 483 MB, free: 6.309 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.291e-05/0.759, allocations: 15.94 kB / 483 MB, free: 6.293 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.759, allocations: 11.12 kB / 483 MB, free: 6.285 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.632e-05/0.7591, allocations: 120.3 kB / 483.1 MB, free: 6.18 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7591, allocations: 4 kB / 483.1 MB, free: 6.176 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003563/0.7594, allocations: 40 kB / 483.2 MB, free: 6.137 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.0001651/0.7596, allocations: 102.9 kB / 483.3 MB, free: 6.027 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002635/0.7599, allocations: 143.8 kB / 483.4 MB, free: 5.926 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.7599, allocations: 0 / 483.4 MB, free: 5.926 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.76, allocations: 76.12 kB / 483.5 MB, free: 5.871 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003895/0.7604, allocations: 32.12 kB / 483.5 MB, free: 5.848 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009153/0.7613, allocations: 0.5264 MB / 484.1 MB, free: 5.328 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.7616, allocations: 0.7479 MB / 484.8 MB, free: 4.555 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001022/0.7617, allocations: 30.05 kB / 484.8 MB, free: 4.527 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.994e-05/0.7618, allocations: 19.44 kB / 484.8 MB, free: 4.508 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.7618, allocations: 0 / 484.8 MB, free: 4.508 MB / 346.7 MB Notification: Performance of Templates: time 0.004021/0.7658, allocations: 1.664 MB / 486.5 MB, free: 2.902 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.makefile (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) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches