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.0016/0.0016, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 221.5 MB / 230.3 MB, free: 7.582 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.0008446/0.0008446, allocations: 95.98 kB / 281.2 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.949e-05/1.961e-05, allocations: 4 kB / 337 MB, free: 10.04 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09334/0.09338, allocations: 50.42 MB / 387.5 MB, free: 7.578 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3299/0.4233, allocations: 77.26 MB / 464.7 MB, free: 1.625 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002171/0.4236, allocations: 71.97 kB / 464.8 MB, free: 1.555 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006705/0.4303, allocations: 2.587 MB / 467.4 MB, free: 14.97 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.4304, allocations: 6.625 kB / 467.4 MB, free: 14.96 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.4304, allocations: 0 / 467.4 MB, free: 14.96 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.0003932/0.4308, allocations: 379.4 kB / 467.7 MB, free: 14.55 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.4308, allocations: 8.031 kB / 467.7 MB, free: 14.54 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000172/0.431, allocations: 35.75 kB / 467.8 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.4312, allocations: 183 kB / 468 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.4312, allocations: 4 kB / 468 MB, free: 14.28 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.4312, allocations: 8 kB / 468 MB, free: 14.27 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001432/0.4314, allocations: 57.48 kB / 468 MB, free: 14.22 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.4315, allocations: 74.98 kB / 468.1 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.4315, allocations: 4.75 kB / 468.1 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.4316, allocations: 3.953 kB / 468.1 MB, free: 14.13 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.4316, allocations: 3.984 kB / 468.1 MB, free: 14.13 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005787/0.4322, allocations: 416.6 kB / 468.5 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/0.4324, allocations: 86.66 kB / 468.6 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.61e-05/0.4324, allocations: 33.08 kB / 468.6 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.4325, allocations: 11.86 kB / 468.7 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.4325, allocations: 34.56 kB / 468.7 MB, free: 13.5 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.313e-06/0.4325, allocations: 0 / 468.7 MB, free: 13.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005286/0.433, allocations: 350.2 kB / 469 MB, free: 13.1 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.4331, allocations: 51.41 kB / 469.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.883e-05/0.4332, allocations: 113.2 kB / 469.2 MB, free: 12.92 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.4332, allocations: 29.7 kB / 469.2 MB, free: 12.88 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.996e-05/0.4333, allocations: 107.7 kB / 469.3 MB, free: 12.77 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/0.4333, allocations: 43.36 kB / 469.4 MB, free: 12.73 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-06/0.4333, allocations: 0 / 469.4 MB, free: 12.73 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.4334, allocations: 322.8 kB / 469.7 MB, free: 12.41 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.328e-05/0.4335, allocations: 23.94 kB / 469.7 MB, free: 12.38 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.622e-05/0.4335, allocations: 55.44 kB / 469.8 MB, free: 12.32 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.688e-05/0.4336, allocations: 31.98 kB / 469.8 MB, free: 12.29 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.4336, allocations: 0 / 469.8 MB, free: 12.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000158/0.4338, allocations: 121.4 kB / 469.9 MB, free: 12.16 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.4338, allocations: 5.406 kB / 469.9 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.4338, allocations: 0 / 469.9 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.4338, allocations: 8 kB / 469.9 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.434, allocations: 31.92 kB / 470 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.434, allocations: 8.062 kB / 470 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.217e-05/0.434, allocations: 7.922 kB / 470 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.4341, allocations: 4 kB / 470 MB, free: 12.1 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 5.791e-05/0.4341, allocations: 101 kB / 470.1 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.01e-05/0.4342, allocations: 19.86 kB / 470.1 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.758e-05/0.4342, allocations: 8.625 kB / 470.1 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.4342, allocations: 0 / 470.1 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.4342, allocations: 0 / 470.1 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.4342, allocations: 4 kB / 470.1 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004273/0.4347, allocations: 396.5 kB / 470.5 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4347, allocations: 0 / 470.5 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001446/0.4348, allocations: 27.98 kB / 470.5 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.4348, allocations: 0 / 470.5 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.4349, allocations: 0 / 470.5 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.4349, allocations: 7.938 kB / 470.5 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.4349, allocations: 4.062 kB / 470.5 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.4351, allocations: 264.5 kB / 470.8 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.636e-05/0.4352, allocations: 85.02 kB / 470.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.4352, allocations: 0 / 470.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.247e-05/0.4353, allocations: 8 kB / 470.9 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.8e-05/0.4353, allocations: 12.03 kB / 470.9 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-06/0.4353, allocations: 0 / 470.9 MB, free: 11.07 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.63e-05/0.4354, allocations: 102.5 kB / 471 MB, free: 10.97 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4354, allocations: 3.938 kB / 471 MB, free: 10.97 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002404/0.4356, allocations: 24 kB / 471 MB, free: 10.95 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.0001025/0.4357, allocations: 95.25 kB / 471.1 MB, free: 10.84 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001349/0.4359, allocations: 75.94 kB / 471.2 MB, free: 10.77 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4359, allocations: 0 / 471.2 MB, free: 10.77 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.438e-05/0.4359, allocations: 35.92 kB / 471.2 MB, free: 10.73 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.4362, allocations: 12 kB / 471.2 MB, free: 10.72 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005374/0.4367, allocations: 346.6 kB / 471.6 MB, free: 10.36 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.437, allocations: 0.708 MB / 472.3 MB, free: 9.621 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.013e-05/0.437, allocations: 8.891 kB / 472.3 MB, free: 9.609 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.945e-05/0.4371, allocations: 11.44 kB / 472.3 MB, free: 9.598 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4371, allocations: 4 kB / 472.3 MB, free: 9.594 MB / 346.7 MB Notification: Performance of Templates: time 0.002824/0.4399, allocations: 0.9794 MB / 473.3 MB, free: 8.629 MB / 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