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.00156/0.00156, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.079/2.079, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001176/0.001175, allocations: 95.05 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.145e-05/2.16e-05, allocations: 4 kB / 314.8 MB, free: 9.164 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3463, allocations: 47.56 MB / 362.3 MB, free: 45.85 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1252/0.4715, allocations: 76.44 MB / 438.8 MB, free: 9.883 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/0.4719, allocations: 63.97 kB / 438.8 MB, free: 9.82 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01704/0.489, allocations: 3.755 MB / 442.6 MB, free: 6.105 MB / 331.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.489, allocations: 4 kB / 442.6 MB, free: 6.102 MB / 331.1 MB Notification: Performance of Transformations before backend: time 2.033e-05/0.4891, allocations: 4 kB / 442.6 MB, free: 6.098 MB / 331.1 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.0009321/0.49, allocations: 485 kB / 443.1 MB, free: 5.578 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.4901, allocations: 8.031 kB / 443.1 MB, free: 5.57 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.405e-05/0.4902, allocations: 27.72 kB / 443.1 MB, free: 5.543 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/0.4905, allocations: 227.4 kB / 443.3 MB, free: 5.277 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.4906, allocations: 8 kB / 443.3 MB, free: 5.27 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.949e-05/0.4906, allocations: 17.11 kB / 443.3 MB, free: 5.254 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004358/0.4911, allocations: 112.8 kB / 443.5 MB, free: 5.145 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000449/0.4915, allocations: 176.5 kB / 443.6 MB, free: 4.961 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.4916, allocations: 0 / 443.6 MB, free: 4.961 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.948e-05/0.4916, allocations: 3.984 kB / 443.6 MB, free: 4.957 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.4916, allocations: 4.938 kB / 443.6 MB, free: 4.953 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001777/0.4934, allocations: 0.7413 MB / 444.4 MB, free: 4.156 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005006/0.494, allocations: 185 kB / 444.6 MB, free: 3.957 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002771/0.4943, allocations: 84.53 kB / 444.6 MB, free: 3.871 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.232e-05/0.4943, allocations: 4 kB / 444.6 MB, free: 3.867 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.4944, allocations: 36.19 kB / 444.7 MB, free: 3.824 MB / 331.1 MB Notification: Performance of pre-optimization done (n=22): time 3.166e-06/0.4944, allocations: 1.594 kB / 444.7 MB, free: 3.824 MB / 331.1 MB Notification: Performance of matching and sorting (n=26): time 0.001793/0.4962, allocations: 0.728 MB / 445.4 MB, free: 3.008 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.847e-05/0.4963, allocations: 77.11 kB / 445.5 MB, free: 2.914 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002326/0.4965, allocations: 139.8 kB / 445.6 MB, free: 2.773 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 3.247e-05/0.4966, allocations: 25.7 kB / 445.6 MB, free: 2.742 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.4967, allocations: 210.8 kB / 445.8 MB, free: 2.535 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.4969, allocations: 86.66 kB / 445.9 MB, free: 2.449 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.394e-05/0.4969, allocations: 4 kB / 445.9 MB, free: 2.445 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.497, allocations: 322.8 kB / 446.3 MB, free: 2.121 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.4972, allocations: 51.98 kB / 446.3 MB, free: 2.07 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/0.4974, allocations: 88.28 kB / 446.4 MB, free: 1.969 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/0.4977, allocations: 63.92 kB / 446.5 MB, free: 1.906 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.4977, allocations: 0 / 446.5 MB, free: 1.906 MB / 331.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000541/0.4982, allocations: 183.9 kB / 446.6 MB, free: 1.723 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.4983, allocations: 4.438 kB / 446.6 MB, free: 1.719 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.4983, allocations: 0 / 446.6 MB, free: 1.719 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.636e-05/0.4983, allocations: 4 kB / 446.6 MB, free: 1.715 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005699/0.4989, allocations: 70.23 kB / 446.7 MB, free: 1.648 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.4989, allocations: 11.89 kB / 446.7 MB, free: 1.637 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000226/0.4992, allocations: 12.09 kB / 446.7 MB, free: 1.625 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.813e-05/0.4992, allocations: 4 kB / 446.7 MB, free: 1.621 MB / 331.1 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.0001368/0.4994, allocations: 113.9 kB / 446.8 MB, free: 1.504 MB / 331.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.998e-05/0.4995, allocations: 19.72 kB / 446.9 MB, free: 1.484 MB / 331.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.4996, allocations: 25.95 kB / 446.9 MB, free: 1.457 MB / 331.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.4996, allocations: 4 kB / 446.9 MB, free: 1.453 MB / 331.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.4996, allocations: 0 / 446.9 MB, free: 1.453 MB / 331.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.4996, allocations: 3.953 kB / 446.9 MB, free: 1.449 MB / 331.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/0.5009, allocations: 0.5244 MB / 447.4 MB, free: 0.875 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.5009, allocations: 0 / 447.4 MB, free: 0.875 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005468/0.5015, allocations: 60.78 kB / 447.5 MB, free: 0.8164 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.084e-05/0.5015, allocations: 8.094 kB / 447.5 MB, free: 0.8086 MB / 331.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/0.5015, allocations: 11.94 kB / 447.5 MB, free: 0.7969 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.503e-06/0.5015, allocations: 4 kB / 447.5 MB, free: 0.793 MB / 331.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.5016, allocations: 0 / 447.5 MB, free: 0.793 MB / 331.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007911/0.5024, allocations: 490.9 kB / 448 MB, free: 272 kB / 331.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.304e-05/0.5025, allocations: 88.92 kB / 448.1 MB, free: 164 kB / 331.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.504e-05/0.5025, allocations: 7.688 kB / 448.1 MB, free: 160 kB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002856/0.5028, allocations: 4 kB / 448.1 MB, free: 156 kB / 331.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.5029, allocations: 27.92 kB / 448.1 MB, free: 128 kB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.768e-05/0.503, allocations: 8 kB / 448.1 MB, free: 120 kB / 331.1 MB Notification: Performance of sorting global known variables: time 0.0001163/0.5031, allocations: 111.8 kB / 448.2 MB, free: 8 kB / 331.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5031, allocations: 0 / 448.2 MB, free: 8 kB / 331.1 MB Notification: Performance of remove unused functions: time 0.0005379/0.5037, allocations: 42.67 kB / 448.3 MB, free: 15.96 MB / 347.1 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.0001833/0.5038, allocations: 107.1 kB / 448.4 MB, free: 15.86 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.000437/0.5043, allocations: 135.8 kB / 448.5 MB, free: 15.72 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.5043, allocations: 4.188 kB / 448.5 MB, free: 15.72 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002094/0.5045, allocations: 87.86 kB / 448.6 MB, free: 15.63 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005291/0.5051, allocations: 24.06 kB / 448.6 MB, free: 15.61 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.5067, allocations: 0.5565 MB / 449.2 MB, free: 15.02 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004362/0.5071, allocations: 0.7479 MB / 449.9 MB, free: 14.25 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.5073, allocations: 27.44 kB / 450 MB, free: 14.22 MB / 347.1 MB Notification: Performance of SimCode: time 1.021e-06/0.5073, allocations: 0 / 450 MB, free: 14.22 MB / 347.1 MB Notification: Performance of Templates: time 0.006771/0.5141, allocations: 2.44 MB / 452.4 MB, free: 11.81 MB / 347.1 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