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.002428/0.002428, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.521/1.521, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009025/0.0009026, allocations: 88.31 kB / 292.1 MB, free: 5.926 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.281e-05/3.299e-05, allocations: 0 / 350.5 MB, free: 2.551 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1575, allocations: 51.48 MB / 402 MB, free: 15.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4443/0.602, allocations: 78.99 MB / 481 MB, free: 10.44 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/0.6023, allocations: 77.97 kB / 481.1 MB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009887/0.6122, allocations: 3.991 MB / 485.1 MB, free: 7.074 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.6122, allocations: 0 / 485.1 MB, free: 7.074 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.368e-05/0.6122, allocations: 6.688 kB / 485.1 MB, free: 7.07 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.0005036/0.6127, allocations: 482.7 kB / 485.5 MB, free: 6.574 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.6128, allocations: 8.031 kB / 485.6 MB, free: 6.566 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002135/0.613, allocations: 48.25 kB / 485.6 MB, free: 6.52 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/0.6132, allocations: 222.1 kB / 485.8 MB, free: 6.273 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.6132, allocations: 19.3 kB / 485.8 MB, free: 6.266 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.71e-05/0.6133, allocations: 27.39 kB / 485.9 MB, free: 6.242 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003065/0.6136, allocations: 202.7 kB / 486.1 MB, free: 6.086 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.6136, allocations: 0 / 486.1 MB, free: 6.086 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/0.6136, allocations: 11.62 kB / 486.1 MB, free: 6.082 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.6137, allocations: 4.875 kB / 486.1 MB, free: 6.078 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002243/0.6139, allocations: 122.6 kB / 486.2 MB, free: 5.996 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009283/0.6148, allocations: 0.7977 MB / 487 MB, free: 5.266 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/0.6151, allocations: 198.2 kB / 487.2 MB, free: 5.105 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.6153, allocations: 96.08 kB / 487.3 MB, free: 5.031 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.6153, allocations: 0 / 487.3 MB, free: 5.031 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.6154, allocations: 41.94 kB / 487.3 MB, free: 4.984 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 1.092e-06/0.6154, allocations: 0 / 487.3 MB, free: 4.984 MB / 346.7 MB Notification: Performance of matching and sorting (n=26): time 0.00103/0.6164, allocations: 0.7696 MB / 488.1 MB, free: 4.227 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.6164, allocations: 81.11 kB / 488.2 MB, free: 4.129 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.6166, allocations: 158 kB / 488.3 MB, free: 3.988 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.6166, allocations: 32.25 kB / 488.4 MB, free: 3.957 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.412e-05/0.6166, allocations: 147.1 kB / 488.5 MB, free: 3.832 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.425e-05/0.6167, allocations: 88.86 kB / 488.6 MB, free: 3.754 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.828e-06/0.6167, allocations: 7.312 kB / 488.6 MB, free: 3.75 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.685e-05/0.6168, allocations: 336.8 kB / 488.9 MB, free: 3.422 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.375e-05/0.6169, allocations: 52.19 kB / 489 MB, free: 3.391 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.467e-05/0.617, allocations: 92.34 kB / 489.1 MB, free: 3.309 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.6171, allocations: 67.12 kB / 489.1 MB, free: 3.266 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.6171, allocations: 4 kB / 489.1 MB, free: 3.262 MB / 346.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002642/0.6173, allocations: 220.8 kB / 489.4 MB, free: 3.09 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.6174, allocations: 4 kB / 489.4 MB, free: 3.086 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.6174, allocations: 0 / 489.4 MB, free: 3.086 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.6174, allocations: 7.953 kB / 489.4 MB, free: 3.078 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/0.6176, allocations: 59.91 kB / 489.4 MB, free: 3.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.6177, allocations: 4 kB / 489.4 MB, free: 3.016 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.6178, allocations: 23.81 kB / 489.4 MB, free: 2.996 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.6178, allocations: 14.09 kB / 489.5 MB, free: 2.988 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 6.532e-05/0.6179, allocations: 116.5 kB / 489.6 MB, free: 2.875 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.359e-05/0.6179, allocations: 21.5 kB / 489.6 MB, free: 2.855 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.212e-05/0.618, allocations: 24.66 kB / 489.6 MB, free: 2.848 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.618, allocations: 4 kB / 489.6 MB, free: 2.844 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.618, allocations: 3.953 kB / 489.6 MB, free: 2.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.618, allocations: 3.984 kB / 489.6 MB, free: 2.836 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006014/0.6186, allocations: 0.5853 MB / 490.2 MB, free: 2.281 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.6186, allocations: 0 / 490.2 MB, free: 2.281 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002464/0.6189, allocations: 55.97 kB / 490.3 MB, free: 2.227 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.279e-06/0.6189, allocations: 4.094 kB / 490.3 MB, free: 2.223 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.6189, allocations: 8.312 kB / 490.3 MB, free: 2.219 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.6189, allocations: 11.92 kB / 490.3 MB, free: 2.207 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.6189, allocations: 0 / 490.3 MB, free: 2.207 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004111/0.6194, allocations: 0.4908 MB / 490.8 MB, free: 1.75 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.172e-05/0.6194, allocations: 100.9 kB / 490.9 MB, free: 1.633 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.943e-05/0.6194, allocations: 13.75 kB / 490.9 MB, free: 1.625 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.6196, allocations: 7.875 kB / 490.9 MB, free: 1.621 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/0.6197, allocations: 19.92 kB / 490.9 MB, free: 1.602 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.6197, allocations: 15.88 kB / 490.9 MB, free: 1.59 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.437e-05/0.6198, allocations: 122.5 kB / 491.1 MB, free: 1.484 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6198, allocations: 4 kB / 491.1 MB, free: 1.48 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002998/0.6201, allocations: 54.75 kB / 491.1 MB, free: 1.434 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.0001295/0.6202, allocations: 107.6 kB / 491.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002462/0.6205, allocations: 153.8 kB / 491.4 MB, free: 1.215 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6205, allocations: 5.031 kB / 491.4 MB, free: 1.211 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.6206, allocations: 86.3 kB / 491.5 MB, free: 1.148 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.6209, allocations: 33.17 kB / 491.5 MB, free: 1.129 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008118/0.6217, allocations: 0.5426 MB / 492 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.622, allocations: 0.7482 MB / 492.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.348e-05/0.6221, allocations: 22.08 kB / 492.8 MB, free: 15.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.282e-05/0.6222, allocations: 23.42 kB / 492.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6222, allocations: 2.531 kB / 492.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of Templates: time 0.004464/0.6266, allocations: 1.806 MB / 494.6 MB, free: 14.04 MB / 362.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