Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001171/0.001171, allocations: 175.9 kB / 16.72 MB, free: 4.953 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.425/1.425, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0007155/0.0007155, allocations: 98.5 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003468, allocations: 12 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2673, allocations: 47.58 MB / 375.1 MB, free: 45.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.001706/0.2691, allocations: 1.437 MB / 376.5 MB, free: 44.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008508/0.27, allocations: 0.6396 MB / 377.2 MB, free: 43.79 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.164e-05/0.2701, allocations: 1 kB / 377.2 MB, free: 43.79 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001042/0.2702, allocations: 14.02 kB / 377.2 MB, free: 43.78 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.724e-05/0.2702, allocations: 31.83 kB / 377.2 MB, free: 43.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001936/0.2704, allocations: 36.67 kB / 377.3 MB, free: 43.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000155/0.2706, allocations: 108.5 kB / 377.4 MB, free: 43.66 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.2707, allocations: 31.12 kB / 377.4 MB, free: 43.64 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.91e-05/0.2708, allocations: 38.88 kB / 377.4 MB, free: 43.62 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.629e-05/0.2709, allocations: 39.75 kB / 377.5 MB, free: 43.6 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.2709, allocations: 4.375 kB / 377.5 MB, free: 43.6 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.942e-05/0.271, allocations: 18.62 kB / 377.5 MB, free: 43.6 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.813e-05/0.2711, allocations: 14.42 kB / 377.5 MB, free: 43.59 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.12e-05/0.2711, allocations: 76.03 kB / 377.6 MB, free: 43.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.2713, allocations: 91.2 kB / 377.7 MB, free: 43.46 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.2713, allocations: 0 / 377.7 MB, free: 43.46 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.2713, allocations: 1.25 kB / 377.7 MB, free: 43.46 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.2713, allocations: 4 kB / 377.7 MB, free: 43.46 MB / 298.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.0004635/0.2718, allocations: 385.1 kB / 378.1 MB, free: 43.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.2718, allocations: 16.66 kB / 378.1 MB, free: 43.06 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001875/0.272, allocations: 24.89 kB / 378.1 MB, free: 43.05 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.2722, allocations: 193.2 kB / 378.3 MB, free: 42.83 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.2722, allocations: 4.406 kB / 378.3 MB, free: 42.83 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.673e-05/0.2722, allocations: 14.81 kB / 378.3 MB, free: 42.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.2724, allocations: 98.31 kB / 378.4 MB, free: 42.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.2725, allocations: 3.906 kB / 378.4 MB, free: 42.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.2725, allocations: 1.062 kB / 378.4 MB, free: 42.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.2725, allocations: 3.094 kB / 378.4 MB, free: 42.75 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.2726, allocations: 57.34 kB / 378.5 MB, free: 42.72 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006439/0.2733, allocations: 490.1 kB / 378.9 MB, free: 42.25 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.2735, allocations: 84.69 kB / 379 MB, free: 42.2 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.419e-05/0.2736, allocations: 23.83 kB / 379 MB, free: 42.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.2736, allocations: 4.906 kB / 379 MB, free: 42.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/0.2736, allocations: 35.56 kB / 379.1 MB, free: 42.14 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.2736, allocations: 0 / 379.1 MB, free: 42.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000209/0.2738, allocations: 96.17 kB / 379.2 MB, free: 42.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.2739, allocations: 56.34 kB / 379.2 MB, free: 42.01 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.698e-05/0.2739, allocations: 116.2 kB / 379.3 MB, free: 41.9 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.274, allocations: 27.05 kB / 379.4 MB, free: 41.87 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.586e-05/0.274, allocations: 107.8 kB / 379.5 MB, free: 41.76 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/0.2741, allocations: 36.19 kB / 379.5 MB, free: 41.73 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.2741, allocations: 0 / 379.5 MB, free: 41.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.436e-05/0.2741, allocations: 324.9 kB / 379.8 MB, free: 41.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.17e-05/0.2742, allocations: 19.94 kB / 379.8 MB, free: 41.4 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.03e-05/0.2743, allocations: 58.64 kB / 379.9 MB, free: 41.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.2744, allocations: 83.2 kB / 380 MB, free: 41.28 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2744, allocations: 0 / 380 MB, free: 41.28 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001586/0.2745, allocations: 111.1 kB / 380.1 MB, free: 41.21 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.2746, allocations: 4.969 kB / 380.1 MB, free: 41.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2746, allocations: 1.312 kB / 380.1 MB, free: 41.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.2746, allocations: 2.375 kB / 380.1 MB, free: 41.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.2747, allocations: 28.48 kB / 380.1 MB, free: 41.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.2747, allocations: 5.156 kB / 380.1 MB, free: 41.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.202e-05/0.2748, allocations: 12.03 kB / 380.1 MB, free: 41.19 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.2748, allocations: 10.72 kB / 380.2 MB, free: 41.18 MB / 298.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 (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.366e-05/0.2749, allocations: 122.4 kB / 380.3 MB, free: 41.05 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.874e-05/0.2749, allocations: 7.688 kB / 380.3 MB, free: 41.05 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.577e-05/0.275, allocations: 13.56 kB / 380.3 MB, free: 41.04 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.275, allocations: 1.125 kB / 380.3 MB, free: 41.04 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.275, allocations: 5.094 kB / 380.3 MB, free: 41.04 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.275, allocations: 0 / 380.3 MB, free: 41.04 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.2752, allocations: 198.6 kB / 380.5 MB, free: 40.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.2752, allocations: 0 / 380.5 MB, free: 40.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.2753, allocations: 25.64 kB / 380.5 MB, free: 40.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.2753, allocations: 1.031 kB / 380.5 MB, free: 40.81 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.2753, allocations: 1.344 kB / 380.5 MB, free: 40.81 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.2753, allocations: 0 / 380.5 MB, free: 40.81 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.2753, allocations: 5.688 kB / 380.5 MB, free: 40.8 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.2755, allocations: 212.3 kB / 380.7 MB, free: 40.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.243e-05/0.2756, allocations: 82.17 kB / 380.8 MB, free: 40.53 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.2756, allocations: 2.281 kB / 380.8 MB, free: 40.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.652e-05/0.2757, allocations: 9.188 kB / 380.8 MB, free: 40.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.607e-05/0.2757, allocations: 10.12 kB / 380.8 MB, free: 40.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.2757, allocations: 1.156 kB / 380.8 MB, free: 40.51 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.644e-05/0.2758, allocations: 92.17 kB / 380.9 MB, free: 40.43 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2758, allocations: 1.125 kB / 380.9 MB, free: 40.43 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002353/0.276, allocations: 27.47 kB / 381 MB, free: 40.42 MB / 298.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 () * Number of clocked 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 9.475e-05/0.2761, allocations: 93.84 kB / 381.1 MB, free: 40.33 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001488/0.2763, allocations: 66.05 kB / 381.1 MB, free: 40.3 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2763, allocations: 1.438 kB / 381.1 MB, free: 40.3 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.248e-05/0.2763, allocations: 32.2 kB / 381.1 MB, free: 40.29 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.2766, allocations: 11.05 kB / 381.2 MB, free: 40.28 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006943/0.2774, allocations: 0.5519 MB / 381.7 MB, free: 39.81 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/0.2775, allocations: 0.6992 MB / 382.4 MB, free: 39.1 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.573e-05/0.2775, allocations: 12.62 kB / 382.4 MB, free: 39.09 MB / 298.7 MB Notification: Performance of SimCode: time 4.31e-07/0.2776, allocations: 0 / 382.4 MB, free: 39.09 MB / 298.7 MB Notification: Performance of Templates: time 0.002665/0.2802, allocations: 1.276 MB / 383.7 MB, free: 38.44 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches