Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.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.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001459/0.001459, allocations: 188.4 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.921/1.921, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001123/0.001123, allocations: 92.36 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004022/0.0004022, allocations: 8 kB / 327 MB, free: 200 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3382, allocations: 47.57 MB / 374.5 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1216/0.4598, allocations: 77.09 MB / 451.6 MB, free: 3.684 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/0.4602, allocations: 71.97 kB / 451.7 MB, free: 3.613 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01094/0.4711, allocations: 2.585 MB / 454.3 MB, free: 1.02 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.897e-06/0.4712, allocations: 0 / 454.3 MB, free: 1.02 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.718e-05/0.4712, allocations: 11.92 kB / 454.3 MB, free: 1.008 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.000597/0.4718, allocations: 395.5 kB / 454.7 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.4719, allocations: 8.031 kB / 454.7 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002527/0.4721, allocations: 23.89 kB / 454.7 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.4724, allocations: 182.9 kB / 454.9 MB, free: 328 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.4724, allocations: 8.188 kB / 454.9 MB, free: 320 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.296e-05/0.4725, allocations: 15.95 kB / 454.9 MB, free: 304 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002602/0.4727, allocations: 97.64 kB / 455 MB, free: 204 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.4728, allocations: 0 / 455 MB, free: 204 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.4728, allocations: 8 kB / 455 MB, free: 196 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.4728, allocations: 4 kB / 455 MB, free: 192 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002008/0.473, allocations: 60.09 kB / 455.1 MB, free: 136 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009893/0.474, allocations: 449.4 kB / 455.5 MB, free: 15.64 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003919/0.4745, allocations: 110.5 kB / 455.6 MB, free: 15.52 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.4745, allocations: 3.984 kB / 455.6 MB, free: 15.52 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.4745, allocations: 38.5 kB / 455.7 MB, free: 15.47 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 2.926e-06/0.4746, allocations: 0 / 455.7 MB, free: 15.47 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.001972/0.4765, allocations: 0.5271 MB / 456.2 MB, free: 14.87 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.4766, allocations: 55.36 kB / 456.2 MB, free: 14.8 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.4767, allocations: 109.2 kB / 456.3 MB, free: 14.69 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.4768, allocations: 33.7 kB / 456.4 MB, free: 14.65 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.532e-05/0.4769, allocations: 174.3 kB / 456.6 MB, free: 14.48 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.291e-05/0.4769, allocations: 47.3 kB / 456.6 MB, free: 14.43 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.818e-06/0.4769, allocations: 0 / 456.6 MB, free: 14.43 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.4771, allocations: 318.8 kB / 456.9 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.232e-05/0.4772, allocations: 24 kB / 456.9 MB, free: 14.09 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.4773, allocations: 59.41 kB / 457 MB, free: 14.02 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.4775, allocations: 44.16 kB / 457 MB, free: 13.97 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.4775, allocations: 0 / 457 MB, free: 13.97 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003091/0.4778, allocations: 129.4 kB / 457.2 MB, free: 13.84 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.4778, allocations: 8 kB / 457.2 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.4778, allocations: 0 / 457.2 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.4779, allocations: 0 / 457.2 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002544/0.4781, allocations: 31.98 kB / 457.2 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.4781, allocations: 3.938 kB / 457.2 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.4783, allocations: 16.02 kB / 457.2 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.4783, allocations: 4 kB / 457.2 MB, free: 13.78 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (17): * Single equations (assignments): 17 * 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.0001215/0.4784, allocations: 117.8 kB / 457.3 MB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.056e-05/0.4785, allocations: 7.906 kB / 457.3 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.04e-05/0.4786, allocations: 20.36 kB / 457.4 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.4786, allocations: 0 / 457.4 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.4786, allocations: 0 / 457.4 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.4786, allocations: 0 / 457.4 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007693/0.4794, allocations: 428.1 kB / 457.8 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.4794, allocations: 4 kB / 457.8 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002832/0.4797, allocations: 27.98 kB / 457.8 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.4797, allocations: 0 / 457.8 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.4797, allocations: 8.094 kB / 457.8 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.624e-06/0.4798, allocations: 11.83 kB / 457.8 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4798, allocations: 4.062 kB / 457.8 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004172/0.4802, allocations: 268.5 kB / 458.1 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.774e-05/0.4803, allocations: 88.97 kB / 458.2 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.996e-05/0.4803, allocations: 4 kB / 458.2 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.4805, allocations: 11.95 kB / 458.2 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/0.4805, allocations: 11.92 kB / 458.2 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.4805, allocations: 4 kB / 458.2 MB, free: 12.66 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.474e-05/0.4806, allocations: 94.27 kB / 458.3 MB, free: 12.57 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4806, allocations: 0 / 458.3 MB, free: 12.57 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003592/0.481, allocations: 28 kB / 458.3 MB, free: 12.54 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mass.s,mass.v,heatCapacitor.T) * 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 (12): * Single equations (assignments): 12 * 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.000162/0.4812, allocations: 103.2 kB / 458.4 MB, free: 12.43 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002542/0.4814, allocations: 79.86 kB / 458.5 MB, free: 12.35 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.4814, allocations: 4 kB / 458.5 MB, free: 12.35 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.44e-05/0.4816, allocations: 35.92 kB / 458.6 MB, free: 12.31 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.4819, allocations: 15.98 kB / 458.6 MB, free: 12.3 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.4831, allocations: 0.5822 MB / 459.2 MB, free: 11.68 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.4834, allocations: 0.7082 MB / 459.9 MB, free: 10.94 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.349e-05/0.4835, allocations: 19.44 kB / 459.9 MB, free: 10.92 MB / 346.7 MB Notification: Performance of SimCode: time 9.92e-07/0.4835, allocations: 0 / 459.9 MB, free: 10.92 MB / 346.7 MB Notification: Performance of Templates: time 0.003946/0.4874, allocations: 1.356 MB / 461.2 MB, free: 9.57 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches