Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001622/0.001627, allocations: 186.2 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.943/1.943, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001197/0.001197, allocations: 96.41 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003806/0.0003807, allocations: 8 kB / 327 MB, free: 216 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3241, allocations: 47.57 MB / 374.5 MB, free: 45.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1229/0.447, allocations: 77.18 MB / 451.7 MB, free: 3.582 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/0.4473, allocations: 67.97 kB / 451.8 MB, free: 3.516 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01707/0.4644, allocations: 3.805 MB / 455.6 MB, free: 15.7 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.005e-06/0.4645, allocations: 0 / 455.6 MB, free: 15.7 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.985e-05/0.4645, allocations: 4 kB / 455.6 MB, free: 15.7 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.001019/0.4655, allocations: 498.9 kB / 456.1 MB, free: 15.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.4656, allocations: 8.031 kB / 456.1 MB, free: 15.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.45e-05/0.4657, allocations: 23.72 kB / 456.1 MB, free: 15.13 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003569/0.466, allocations: 231.2 kB / 456.3 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/0.4661, allocations: 20.38 kB / 456.3 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.982e-05/0.4662, allocations: 20 kB / 456.4 MB, free: 14.82 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006736/0.4669, allocations: 221.3 kB / 456.6 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.4669, allocations: 0 / 456.6 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.109e-05/0.467, allocations: 4 kB / 456.6 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.467, allocations: 8 kB / 456.6 MB, free: 14.58 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005763/0.4676, allocations: 156.4 kB / 456.7 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00194/0.4695, allocations: 0.7929 MB / 457.5 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006846/0.4703, allocations: 205 kB / 457.7 MB, free: 13.35 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.67e-05/0.4703, allocations: 7.938 kB / 457.7 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.4704, allocations: 38.55 kB / 457.8 MB, free: 13.3 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 3.367e-06/0.4704, allocations: 4 kB / 457.8 MB, free: 13.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=26): time 0.002619/0.473, allocations: 0.8892 MB / 458.7 MB, free: 12.32 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.709e-05/0.4731, allocations: 81.11 kB / 458.8 MB, free: 12.22 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.4734, allocations: 165.2 kB / 458.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.904e-05/0.4734, allocations: 30.14 kB / 459 MB, free: 12.02 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.4736, allocations: 198.8 kB / 459.1 MB, free: 11.82 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.4737, allocations: 90.8 kB / 459.2 MB, free: 11.73 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-05/0.4737, allocations: 8 kB / 459.2 MB, free: 11.73 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.4739, allocations: 326.8 kB / 459.6 MB, free: 11.4 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003008/0.4742, allocations: 75.89 kB / 459.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003061/0.4745, allocations: 112.2 kB / 459.7 MB, free: 11.2 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003127/0.4748, allocations: 86.05 kB / 459.8 MB, free: 11.12 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.4749, allocations: 0 / 459.8 MB, free: 11.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007616/0.4756, allocations: 241.4 kB / 460.1 MB, free: 10.88 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.4757, allocations: 4 kB / 460.1 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.4757, allocations: 0 / 460.1 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.4757, allocations: 4 kB / 460.1 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005044/0.4762, allocations: 67.86 kB / 460.1 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.4763, allocations: 4 kB / 460.1 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002391/0.4765, allocations: 23.83 kB / 460.2 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.018e-05/0.4766, allocations: 8.094 kB / 460.2 MB, free: 10.77 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001971/0.4768, allocations: 137.8 kB / 460.3 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.583e-05/0.4769, allocations: 19.81 kB / 460.3 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.972e-05/0.477, allocations: 29.86 kB / 460.4 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.477, allocations: 0 / 460.4 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/0.477, allocations: 7.953 kB / 460.4 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.477, allocations: 0 / 460.4 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001348/0.4784, allocations: 0.5826 MB / 460.9 MB, free: 9.914 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.4784, allocations: 4 kB / 461 MB, free: 9.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005958/0.479, allocations: 63.86 kB / 461 MB, free: 9.848 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-05/0.4791, allocations: 4 kB / 461 MB, free: 9.844 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.279e-05/0.4791, allocations: 12.09 kB / 461 MB, free: 9.832 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.4791, allocations: 0 / 461 MB, free: 9.832 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.4791, allocations: 4 kB / 461 MB, free: 9.828 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.4803, allocations: 0.5454 MB / 461.6 MB, free: 9.234 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.4804, allocations: 96.83 kB / 461.7 MB, free: 9.121 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.851e-05/0.4805, allocations: 8 kB / 461.7 MB, free: 9.113 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002749/0.4808, allocations: 16.03 kB / 461.7 MB, free: 9.098 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.374e-05/0.4809, allocations: 19.88 kB / 461.7 MB, free: 9.078 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/0.4809, allocations: 8 kB / 461.7 MB, free: 9.07 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001654/0.4811, allocations: 140.2 kB / 461.9 MB, free: 8.934 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.4811, allocations: 0 / 461.9 MB, free: 8.934 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005026/0.4816, allocations: 48 kB / 461.9 MB, free: 8.887 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 () * 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 (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.0001796/0.4818, allocations: 113.4 kB / 462 MB, free: 8.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007393/0.4826, allocations: 186.5 kB / 462.2 MB, free: 8.59 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.4826, allocations: 4 kB / 462.2 MB, free: 8.586 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003282/0.4829, allocations: 104 kB / 462.3 MB, free: 8.484 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000558/0.4835, allocations: 24.17 kB / 462.3 MB, free: 8.461 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001951/0.4855, allocations: 0.8515 MB / 463.2 MB, free: 7.562 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004196/0.4859, allocations: 0.7559 MB / 463.9 MB, free: 6.781 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.4861, allocations: 19.44 kB / 464 MB, free: 6.762 MB / 346.7 MB Notification: Performance of SimCode: time 1.462e-06/0.4861, allocations: 3.938 kB / 464 MB, free: 6.758 MB / 346.7 MB Notification: Performance of Templates: time 0.006926/0.4931, allocations: 2.518 MB / 466.5 MB, free: 4.238 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Oscillator.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Oscillator --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches