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.001683/0.001683, allocations: 174.8 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.752/1.752, allocations: 221.3 MB / 235.5 MB, free: 2.93 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.001226/0.001227, allocations: 84.05 kB / 286.5 MB, free: 232 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.686e-05/3.697e-05, allocations: 4 kB / 343.8 MB, free: 4.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1451, allocations: 50.42 MB / 394.2 MB, free: 1.863 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4482/0.5934, allocations: 78.17 MB / 472.4 MB, free: 9.398 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003389/0.5938, allocations: 73.41 kB / 472.5 MB, free: 9.332 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01158/0.6054, allocations: 3.92 MB / 476.4 MB, free: 5.41 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.6055, allocations: 0 / 476.4 MB, free: 5.41 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.196e-05/0.6055, allocations: 7.984 kB / 476.4 MB, free: 5.402 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.0008357/0.6064, allocations: 478.9 kB / 476.9 MB, free: 4.887 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.387e-05/0.6065, allocations: 12.03 kB / 476.9 MB, free: 4.875 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.156e-05/0.6065, allocations: 23.72 kB / 476.9 MB, free: 4.852 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.6069, allocations: 223.4 kB / 477.1 MB, free: 4.59 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.793e-05/0.6069, allocations: 16.44 kB / 477.1 MB, free: 4.574 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.689e-05/0.607, allocations: 19.91 kB / 477.2 MB, free: 4.555 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004713/0.6074, allocations: 201.4 kB / 477.4 MB, free: 4.352 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.781e-05/0.6075, allocations: 7.938 kB / 477.4 MB, free: 4.344 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.997e-05/0.6075, allocations: 8 kB / 477.4 MB, free: 4.336 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.6075, allocations: 8 kB / 477.4 MB, free: 4.328 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000288/0.6078, allocations: 129 kB / 477.5 MB, free: 4.203 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001547/0.6094, allocations: 0.8035 MB / 478.3 MB, free: 3.332 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004514/0.6099, allocations: 189 kB / 478.5 MB, free: 3.129 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002259/0.6101, allocations: 97.84 kB / 478.6 MB, free: 3.027 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.702e-05/0.6102, allocations: 4.25 kB / 478.6 MB, free: 3.023 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.684e-05/0.6102, allocations: 42.56 kB / 478.6 MB, free: 2.973 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 3.457e-06/0.6103, allocations: 0 / 478.6 MB, free: 2.973 MB / 346.7 MB Notification: Performance of matching and sorting (n=26): time 0.001676/0.6119, allocations: 0.7593 MB / 479.4 MB, free: 2.121 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.313e-05/0.612, allocations: 77.11 kB / 479.5 MB, free: 2.027 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.6123, allocations: 157.6 kB / 479.6 MB, free: 1.867 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.287e-05/0.6123, allocations: 33.7 kB / 479.7 MB, free: 1.828 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.6124, allocations: 140.4 kB / 479.8 MB, free: 1.688 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.6126, allocations: 102.5 kB / 479.9 MB, free: 1.586 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.256e-05/0.6126, allocations: 4 kB / 479.9 MB, free: 1.582 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000214/0.6128, allocations: 338.8 kB / 480.2 MB, free: 1.242 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.6129, allocations: 52 kB / 480.3 MB, free: 1.191 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/0.6131, allocations: 96.28 kB / 480.4 MB, free: 1.082 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.6132, allocations: 68.48 kB / 480.4 MB, free: 1.016 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.6133, allocations: 0 / 480.4 MB, free: 1.016 MB / 346.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003878/0.6137, allocations: 219.9 kB / 480.7 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.924e-05/0.6137, allocations: 9.562 kB / 480.7 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.6137, allocations: 0 / 480.7 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.447e-05/0.6137, allocations: 4.094 kB / 480.7 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/0.614, allocations: 63.91 kB / 480.7 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.59e-05/0.6141, allocations: 4 kB / 480.7 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.6142, allocations: 19.89 kB / 480.8 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.387e-05/0.6142, allocations: 8 kB / 480.8 MB, free: 0.6914 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 0.0001315/0.6144, allocations: 120.9 kB / 480.9 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.422e-05/0.6145, allocations: 19.81 kB / 480.9 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.834e-05/0.6146, allocations: 33.64 kB / 480.9 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-05/0.6146, allocations: 4 kB / 480.9 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.6146, allocations: 0 / 480.9 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.6146, allocations: 0 / 480.9 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009253/0.6155, allocations: 0.5803 MB / 481.5 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.6156, allocations: 0 / 481.5 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002872/0.6159, allocations: 67.89 kB / 481.6 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.994e-06/0.6159, allocations: 3.984 kB / 481.6 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.6159, allocations: 8 kB / 481.6 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.094e-06/0.6159, allocations: 7.953 kB / 481.6 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.6159, allocations: 0 / 481.6 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006982/0.6166, allocations: 0.5036 MB / 482.1 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.903e-05/0.6167, allocations: 88.92 kB / 482.2 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.234e-05/0.6168, allocations: 12 kB / 482.2 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.6169, allocations: 16.03 kB / 482.2 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.948e-05/0.617, allocations: 19.92 kB / 482.2 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.617, allocations: 7.938 kB / 482.3 MB, free: 15.06 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001175/0.6172, allocations: 140.2 kB / 482.4 MB, free: 14.92 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6172, allocations: 0 / 482.4 MB, free: 14.92 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003334/0.6175, allocations: 48 kB / 482.4 MB, free: 14.88 MB / 362.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.000234/0.6177, allocations: 107.2 kB / 482.5 MB, free: 14.76 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003426/0.6181, allocations: 163.8 kB / 482.7 MB, free: 14.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.6181, allocations: 0 / 482.7 MB, free: 14.6 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001943/0.6183, allocations: 88.52 kB / 482.8 MB, free: 14.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004412/0.6188, allocations: 28.16 kB / 482.8 MB, free: 14.49 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.6199, allocations: 0.5437 MB / 483.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003758/0.6203, allocations: 0.7482 MB / 484.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.749e-05/0.6204, allocations: 22.06 kB / 484.1 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.665e-05/0.6205, allocations: 23.44 kB / 484.2 MB, free: 13.09 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.6205, allocations: 0 / 484.2 MB, free: 13.09 MB / 362.7 MB Notification: Performance of Templates: time 0.00523/0.6257, allocations: 1.811 MB / 486 MB, free: 11.3 MB / 362.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