Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.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.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009751/0.0009749, 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.432/1.432, allocations: 221.5 MB / 230.3 MB, free: 7.508 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.0008283/0.0008283, allocations: 80.69 kB / 281.2 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.847e-05/1.851e-05, allocations: 4 kB / 337 MB, free: 10.01 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1066, allocations: 50.42 MB / 387.5 MB, free: 7.547 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.353/0.4596, allocations: 77.14 MB / 464.6 MB, free: 1.691 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002139/0.4599, allocations: 71.97 kB / 464.7 MB, free: 1.621 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006638/0.4665, allocations: 2.496 MB / 467.2 MB, free: 15.12 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4666, allocations: 6.734 kB / 467.2 MB, free: 15.12 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.4666, allocations: 0 / 467.2 MB, free: 15.12 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.0004239/0.467, allocations: 383.4 kB / 467.5 MB, free: 14.7 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.4671, allocations: 8.031 kB / 467.6 MB, free: 14.69 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000191/0.4673, allocations: 27.84 kB / 467.6 MB, free: 14.66 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.4675, allocations: 194.8 kB / 467.8 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.4675, allocations: 4 kB / 467.8 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/0.4675, allocations: 8 kB / 467.8 MB, free: 14.42 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001529/0.4677, allocations: 56.36 kB / 467.8 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.4679, allocations: 74.98 kB / 467.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.4679, allocations: 4 kB / 467.9 MB, free: 14.28 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.4679, allocations: 0 / 467.9 MB, free: 14.28 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.4679, allocations: 3.953 kB / 467.9 MB, free: 14.28 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007312/0.4687, allocations: 458.1 kB / 468.4 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/0.4689, allocations: 82.47 kB / 468.4 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.08e-05/0.4689, allocations: 20.86 kB / 468.5 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.469, allocations: 0 / 468.5 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.469, allocations: 38.56 kB / 468.5 MB, free: 13.62 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 9.02e-07/0.469, allocations: 0 / 468.5 MB, free: 13.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002009/0.4692, allocations: 69.64 kB / 468.6 MB, free: 13.55 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.4693, allocations: 51.41 kB / 468.6 MB, free: 13.48 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.4694, allocations: 112.9 kB / 468.7 MB, free: 13.37 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.4694, allocations: 25.7 kB / 468.8 MB, free: 13.34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.151e-05/0.4695, allocations: 107.9 kB / 468.9 MB, free: 13.23 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.4695, allocations: 27.56 kB / 468.9 MB, free: 13.2 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/0.4695, allocations: 0 / 468.9 MB, free: 13.2 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.4696, allocations: 326.8 kB / 469.2 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.908e-05/0.4697, allocations: 23.94 kB / 469.2 MB, free: 12.85 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.071e-05/0.4698, allocations: 43.42 kB / 469.3 MB, free: 12.79 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.635e-05/0.4698, allocations: 20 kB / 469.3 MB, free: 12.77 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.4698, allocations: 3.953 kB / 469.3 MB, free: 12.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001541/0.47, allocations: 109.5 kB / 469.4 MB, free: 12.66 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.47, allocations: 4 kB / 469.4 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.47, allocations: 0 / 469.4 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.47, allocations: 7.984 kB / 469.4 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.4702, allocations: 23.98 kB / 469.4 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.4702, allocations: 0.7031 kB / 469.4 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.972e-05/0.4702, allocations: 11.84 kB / 469.4 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.4703, allocations: 4 kB / 469.5 MB, free: 12.61 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 (13): * Single equations (assignments): 13 * 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.286e-05/0.4703, allocations: 113 kB / 469.6 MB, free: 12.49 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.4704, allocations: 7.953 kB / 469.6 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.164e-05/0.4704, allocations: 12.62 kB / 469.6 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.4704, allocations: 0 / 469.6 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.4704, allocations: 0 / 469.6 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.4704, allocations: 4.078 kB / 469.6 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.4706, allocations: 174.2 kB / 469.8 MB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.4706, allocations: 4 kB / 469.8 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.4708, allocations: 16 kB / 469.8 MB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.4708, allocations: 3.953 kB / 469.8 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.998e-06/0.4708, allocations: 4 kB / 469.8 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.4708, allocations: 0 / 469.8 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.4708, allocations: 7.984 kB / 469.8 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/0.471, allocations: 195.5 kB / 470 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.093e-05/0.4711, allocations: 81.11 kB / 470.1 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.4711, allocations: 7.891 kB / 470.1 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.521e-05/0.4712, allocations: 7.906 kB / 470.1 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.842e-05/0.4712, allocations: 12.03 kB / 470.1 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.034e-06/0.4712, allocations: 4 kB / 470.1 MB, free: 11.89 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.355e-05/0.4713, allocations: 92.92 kB / 470.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4713, allocations: 0 / 470.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002344/0.4716, allocations: 23.94 kB / 470.2 MB, free: 11.77 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (eddyCurrentTorque.phi,inertia.w,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001322/0.4717, allocations: 99.23 kB / 470.3 MB, free: 11.67 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001269/0.4718, allocations: 47.94 kB / 470.4 MB, free: 11.62 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4718, allocations: 0 / 470.4 MB, free: 11.62 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.239e-05/0.4719, allocations: 32.12 kB / 470.4 MB, free: 11.59 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.4721, allocations: 19.97 kB / 470.4 MB, free: 11.57 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005666/0.4727, allocations: 300.9 kB / 470.7 MB, free: 11.25 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.473, allocations: 0.7041 MB / 471.4 MB, free: 10.52 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.255e-05/0.473, allocations: 8.438 kB / 471.4 MB, free: 10.51 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.435e-05/0.4731, allocations: 11.44 kB / 471.4 MB, free: 10.5 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4731, allocations: 0 / 471.4 MB, free: 10.5 MB / 346.7 MB Notification: Performance of Templates: time 0.003044/0.4761, allocations: 0.8233 MB / 472.2 MB, free: 9.688 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches