Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.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.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001952/0.001952, allocations: 175.6 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.604/1.604, allocations: 221.3 MB / 235.5 MB, free: 2.926 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.0009829/0.0009829, allocations: 91.72 kB / 286.5 MB, free: 216 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.116e-05/3.127e-05, allocations: 7.984 kB / 343.8 MB, free: 4.297 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1228, allocations: 50.41 MB / 394.2 MB, free: 1.848 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3689/0.4917, allocations: 77.91 MB / 472.2 MB, free: 9.645 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/0.492, allocations: 75.78 kB / 472.2 MB, free: 9.574 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007595/0.4996, allocations: 2.602 MB / 474.8 MB, free: 6.969 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.877e-06/0.4997, allocations: 6.625 kB / 474.8 MB, free: 6.965 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.4997, allocations: 3.938 kB / 474.8 MB, free: 6.961 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004869/0.5002, allocations: 375.4 kB / 475.2 MB, free: 6.547 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.5003, allocations: 12.03 kB / 475.2 MB, free: 6.535 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001838/0.5004, allocations: 31.75 kB / 475.2 MB, free: 6.504 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.5007, allocations: 183 kB / 475.4 MB, free: 6.285 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.5007, allocations: 16.19 kB / 475.4 MB, free: 6.27 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.545e-05/0.5007, allocations: 11.94 kB / 475.5 MB, free: 6.258 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002262/0.501, allocations: 87.17 kB / 475.5 MB, free: 6.168 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.501, allocations: 0 / 475.5 MB, free: 6.168 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.501, allocations: 7.984 kB / 475.5 MB, free: 6.16 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.501, allocations: 7.953 kB / 475.6 MB, free: 6.152 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.5012, allocations: 56.55 kB / 475.6 MB, free: 6.098 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007039/0.5019, allocations: 448.4 kB / 476 MB, free: 5.605 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003143/0.5022, allocations: 106.6 kB / 476.2 MB, free: 5.492 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.027e-05/0.5023, allocations: 40.95 kB / 476.2 MB, free: 5.449 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.5023, allocations: 0 / 476.2 MB, free: 5.449 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.5023, allocations: 34.56 kB / 476.2 MB, free: 5.406 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 9.72e-07/0.5023, allocations: 0 / 476.2 MB, free: 5.406 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006625/0.503, allocations: 374.6 kB / 476.6 MB, free: 4.988 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.5031, allocations: 51.41 kB / 476.6 MB, free: 4.926 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.761e-05/0.5032, allocations: 113.2 kB / 476.8 MB, free: 4.805 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.5032, allocations: 29.7 kB / 476.8 MB, free: 4.77 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.14e-05/0.5033, allocations: 103.8 kB / 476.9 MB, free: 4.664 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.873e-05/0.5033, allocations: 47.36 kB / 476.9 MB, free: 4.617 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-06/0.5033, allocations: 0 / 476.9 MB, free: 4.617 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.5035, allocations: 326.8 kB / 477.2 MB, free: 4.289 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.324e-05/0.5035, allocations: 28 kB / 477.3 MB, free: 4.262 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.628e-05/0.5036, allocations: 60.98 kB / 477.3 MB, free: 4.191 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.724e-05/0.5037, allocations: 33.67 kB / 477.4 MB, free: 4.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.5037, allocations: 4 kB / 477.4 MB, free: 4.156 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001905/0.5039, allocations: 133.5 kB / 477.5 MB, free: 4.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.5039, allocations: 4 kB / 477.5 MB, free: 4.016 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.5039, allocations: 0 / 477.5 MB, free: 4.016 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.5039, allocations: 4 kB / 477.5 MB, free: 4.012 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.5041, allocations: 31.92 kB / 477.5 MB, free: 3.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.5041, allocations: 7.984 kB / 477.6 MB, free: 3.973 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.497e-05/0.5042, allocations: 3.938 kB / 477.6 MB, free: 3.969 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.5042, allocations: 8.062 kB / 477.6 MB, free: 3.961 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 () * 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 7.257e-05/0.5043, allocations: 120.9 kB / 477.7 MB, free: 3.836 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.915e-05/0.5043, allocations: 7.906 kB / 477.7 MB, free: 3.828 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.014e-05/0.5044, allocations: 16.62 kB / 477.7 MB, free: 3.809 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.5044, allocations: 0 / 477.7 MB, free: 3.809 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.5044, allocations: 3.984 kB / 477.7 MB, free: 3.805 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.5044, allocations: 0 / 477.7 MB, free: 3.805 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005575/0.505, allocations: 428 kB / 478.1 MB, free: 3.324 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.505, allocations: 4.047 kB / 478.1 MB, free: 3.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.5051, allocations: 28.06 kB / 478.2 MB, free: 3.293 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.5051, allocations: 11.88 kB / 478.2 MB, free: 3.281 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.5052, allocations: 4 kB / 478.2 MB, free: 3.277 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.5052, allocations: 4 kB / 478.2 MB, free: 3.273 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.5052, allocations: 0 / 478.2 MB, free: 3.273 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000302/0.5055, allocations: 269.1 kB / 478.4 MB, free: 2.977 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.984e-05/0.5055, allocations: 85.02 kB / 478.5 MB, free: 2.875 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.5056, allocations: 4 kB / 478.5 MB, free: 2.871 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.818e-05/0.5057, allocations: 12.03 kB / 478.5 MB, free: 2.859 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.112e-05/0.5057, allocations: 11.89 kB / 478.5 MB, free: 2.848 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.5057, allocations: 8 kB / 478.6 MB, free: 2.84 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.494e-05/0.5058, allocations: 99.64 kB / 478.7 MB, free: 2.746 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5058, allocations: 0 / 478.7 MB, free: 2.746 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002349/0.506, allocations: 24 kB / 478.7 MB, free: 2.723 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 () * 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.0001521/0.5062, allocations: 103.2 kB / 478.8 MB, free: 2.613 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001626/0.5064, allocations: 72.7 kB / 478.8 MB, free: 2.543 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.5064, allocations: 0 / 478.8 MB, free: 2.543 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.022e-05/0.5064, allocations: 51.98 kB / 478.9 MB, free: 2.492 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.5067, allocations: 16.16 kB / 478.9 MB, free: 2.477 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006482/0.5073, allocations: 343.5 kB / 479.3 MB, free: 2.113 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/0.5077, allocations: 0.7082 MB / 480 MB, free: 1.379 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.45e-05/0.5077, allocations: 8.891 kB / 480 MB, free: 1.367 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.112e-05/0.5078, allocations: 11.44 kB / 480 MB, free: 1.355 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5078, allocations: 0 / 480 MB, free: 1.355 MB / 346.7 MB Notification: Performance of Templates: time 0.003265/0.511, allocations: 1.036 MB / 481 MB, free: 344 kB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches