Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.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.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 172.4 kB / 14.1 MB, free: 1.223 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.516/1.516, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008358/0.0008356, allocations: 74.73 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.706e-05/2.709e-05, allocations: 4 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1008, allocations: 47.58 MB / 370 MB, free: 1.707 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3517/0.4525, allocations: 76.98 MB / 447 MB, free: 300 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/0.4528, allocations: 68.33 kB / 447.1 MB, free: 264 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006815/0.4596, allocations: 2.498 MB / 449.6 MB, free: 14.14 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.4597, allocations: 0 / 449.6 MB, free: 14.14 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.4597, allocations: 11.94 kB / 449.6 MB, free: 14.12 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.0005729/0.4603, allocations: 379.1 kB / 449.9 MB, free: 13.71 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.095e-05/0.4604, allocations: 12.03 kB / 450 MB, free: 13.7 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000212/0.4606, allocations: 19.89 kB / 450 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.4609, allocations: 186.8 kB / 450.2 MB, free: 13.46 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.4609, allocations: 8 kB / 450.2 MB, free: 13.46 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.354e-05/0.4609, allocations: 11.81 kB / 450.2 MB, free: 13.45 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.4612, allocations: 102.2 kB / 450.3 MB, free: 13.37 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.4612, allocations: 0.7656 kB / 450.3 MB, free: 13.37 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.4612, allocations: 0 / 450.3 MB, free: 13.37 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.4612, allocations: 4 kB / 450.3 MB, free: 13.37 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.4613, allocations: 55.11 kB / 450.3 MB, free: 13.33 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007649/0.4621, allocations: 490.4 kB / 450.8 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000241/0.4624, allocations: 85.14 kB / 450.9 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.873e-05/0.4624, allocations: 26.75 kB / 450.9 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.4625, allocations: 4 kB / 450.9 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.4625, allocations: 34.56 kB / 451 MB, free: 12.71 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.4625, allocations: 0 / 451 MB, free: 12.71 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.000198/0.4627, allocations: 77.05 kB / 451 MB, free: 12.64 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.4628, allocations: 59.5 kB / 451.1 MB, free: 12.57 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.758e-05/0.4629, allocations: 108.5 kB / 451.2 MB, free: 12.46 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.453e-05/0.4629, allocations: 25.7 kB / 451.2 MB, free: 12.43 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.005e-05/0.463, allocations: 111.5 kB / 451.3 MB, free: 12.32 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.848e-05/0.463, allocations: 31.36 kB / 451.4 MB, free: 12.3 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.963e-06/0.463, allocations: 7.938 kB / 451.4 MB, free: 12.29 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.4632, allocations: 318.5 kB / 451.7 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.12e-05/0.4632, allocations: 19.69 kB / 451.7 MB, free: 11.96 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.561e-05/0.4633, allocations: 46.86 kB / 451.8 MB, free: 11.91 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.483e-05/0.4633, allocations: 23.88 kB / 451.8 MB, free: 11.9 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.4634, allocations: 0 / 451.8 MB, free: 11.9 MB / 330.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001677/0.4635, allocations: 124.4 kB / 451.9 MB, free: 11.79 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.4636, allocations: 4 kB / 451.9 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4636, allocations: 0 / 451.9 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.4636, allocations: 4 kB / 451.9 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.4637, allocations: 31.86 kB / 451.9 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.4637, allocations: 3.953 kB / 451.9 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.903e-05/0.4638, allocations: 8.875 kB / 451.9 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.4638, allocations: 4 kB / 452 MB, free: 11.74 MB / 330.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 6.657e-05/0.4639, allocations: 117 kB / 452.1 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.4639, allocations: 4 kB / 452.1 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.125e-05/0.464, allocations: 12.06 kB / 452.1 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.464, allocations: 0 / 452.1 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.464, allocations: 0 / 452.1 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.464, allocations: 11.94 kB / 452.1 MB, free: 11.6 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.4642, allocations: 193 kB / 452.3 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4642, allocations: 0 / 452.3 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.4643, allocations: 23.92 kB / 452.3 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.4644, allocations: 0 / 452.3 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.4644, allocations: 11.75 kB / 452.3 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.4644, allocations: 0 / 452.3 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.4644, allocations: 4 kB / 452.3 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002287/0.4646, allocations: 207.8 kB / 452.5 MB, free: 11.15 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.652e-05/0.4647, allocations: 81.02 kB / 452.6 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.4647, allocations: 7.875 kB / 452.6 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.062e-05/0.4648, allocations: 0 / 452.6 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.413e-05/0.4648, allocations: 12.03 kB / 452.6 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.4648, allocations: 0 / 452.6 MB, free: 11.04 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.99e-05/0.4649, allocations: 91.22 kB / 452.7 MB, free: 10.95 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4649, allocations: 0 / 452.7 MB, free: 10.95 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002241/0.4651, allocations: 27.81 kB / 452.7 MB, free: 10.93 MB / 330.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.0001464/0.4653, allocations: 99.19 kB / 452.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001347/0.4654, allocations: 63.17 kB / 452.9 MB, free: 10.77 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4654, allocations: 0 / 452.9 MB, free: 10.77 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.266e-05/0.4655, allocations: 32.38 kB / 452.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.4657, allocations: 20.47 kB / 452.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005967/0.4663, allocations: 321.3 kB / 453.3 MB, free: 10.41 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.4666, allocations: 0.7004 MB / 454 MB, free: 9.68 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.673e-05/0.4667, allocations: 16.41 kB / 454 MB, free: 9.664 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.306e-05/0.4667, allocations: 11.44 kB / 454 MB, free: 9.652 MB / 330.7 MB Notification: Performance of SimCode: time 4.51e-07/0.4667, allocations: 0 / 454 MB, free: 9.652 MB / 330.7 MB Notification: Performance of Templates: time 0.003449/0.4702, allocations: 0.8445 MB / 454.8 MB, free: 8.824 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches