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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 109.8 kB / 16.51 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 190.5 kB / 17.43 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 222.9 MB / 241.1 MB, free: 15.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009826/0.0009826, allocations: 42.48 kB / 299.9 MB, free: 6.328 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09076/0.09176, allocations: 49.45 MB / 349.4 MB, free: 4.867 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002717/0.09452, allocations: 1.821 MB / 351.2 MB, free: 3.031 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008877/0.09542, allocations: 0.6349 MB / 351.9 MB, free: 2.391 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.926e-05/0.0955, allocations: 4 kB / 351.9 MB, free: 2.387 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001083/0.09563, allocations: 7.922 kB / 351.9 MB, free: 2.379 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.622e-05/0.0957, allocations: 31.7 kB / 351.9 MB, free: 2.348 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001922/0.0959, allocations: 39.89 kB / 351.9 MB, free: 2.309 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.09604, allocations: 115.4 kB / 352 MB, free: 2.195 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.09615, allocations: 31.88 kB / 352.1 MB, free: 2.164 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.347e-05/0.09621, allocations: 47.78 kB / 352.1 MB, free: 2.117 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.234e-05/0.09629, allocations: 39.84 kB / 352.2 MB, free: 2.078 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.09631, allocations: 4 kB / 352.2 MB, free: 2.074 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.534e-05/0.09639, allocations: 24 kB / 352.2 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.058e-05/0.09642, allocations: 15.92 kB / 352.2 MB, free: 2.035 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.359e-05/0.09648, allocations: 51.73 kB / 352.3 MB, free: 1.984 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.09664, allocations: 123.9 kB / 352.4 MB, free: 1.863 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.09665, allocations: 0 / 352.4 MB, free: 1.863 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.09666, allocations: 0 / 352.4 MB, free: 1.863 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.09667, allocations: 4 kB / 352.4 MB, free: 1.859 MB / 286.1 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.0004881/0.09716, allocations: 403.4 kB / 352.8 MB, free: 1.418 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.0972, allocations: 8.031 kB / 352.8 MB, free: 1.41 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001864/0.09739, allocations: 24.83 kB / 352.8 MB, free: 1.387 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.09757, allocations: 192.1 kB / 353 MB, free: 1.16 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.09759, allocations: 12.5 kB / 353 MB, free: 1.148 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/0.09762, allocations: 12.38 kB / 353 MB, free: 1.137 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.0978, allocations: 97.59 kB / 353.1 MB, free: 1.035 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.09782, allocations: 0 / 353.1 MB, free: 1.035 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.09784, allocations: 8 kB / 353.1 MB, free: 1.027 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.09785, allocations: 0 / 353.1 MB, free: 1.027 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.09798, allocations: 59.91 kB / 353.2 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006931/0.09868, allocations: 489.1 kB / 353.7 MB, free: 436 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002202/0.09892, allocations: 82.62 kB / 353.7 MB, free: 344 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.442e-05/0.09897, allocations: 24.86 kB / 353.8 MB, free: 316 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.09899, allocations: 0 / 353.8 MB, free: 316 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.09902, allocations: 34.56 kB / 353.8 MB, free: 272 kB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.09903, allocations: 4 kB / 353.8 MB, free: 268 kB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002263/0.09926, allocations: 109.6 kB / 353.9 MB, free: 152 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.0993, allocations: 55.34 kB / 354 MB, free: 84 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.173e-05/0.0994, allocations: 117.8 kB / 354.1 MB, free: 15.96 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.09942, allocations: 29.7 kB / 354.1 MB, free: 15.92 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.118e-05/0.09948, allocations: 103.9 kB / 354.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.09952, allocations: 31.55 kB / 354.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.261e-05/0.09957, allocations: 29.72 kB / 354.3 MB, free: 15.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.672e-05/0.09967, allocations: 326.8 kB / 354.6 MB, free: 15.42 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.734e-05/0.09972, allocations: 23.98 kB / 354.6 MB, free: 15.4 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.153e-05/0.09979, allocations: 51.36 kB / 354.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.0999, allocations: 79.38 kB / 354.7 MB, free: 15.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.09991, allocations: 0 / 354.7 MB, free: 15.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001603/0.1001, allocations: 113.5 kB / 354.8 MB, free: 15.13 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.1001, allocations: 4.094 kB / 354.9 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.1001, allocations: 3.938 kB / 354.9 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.1001, allocations: 7.984 kB / 354.9 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.1002, allocations: 23.94 kB / 354.9 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.1003, allocations: 3.938 kB / 354.9 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.944e-05/0.1003, allocations: 15.83 kB / 354.9 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.1004, allocations: 8.094 kB / 354.9 MB, free: 15.06 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.15e-05/0.1004, allocations: 117.8 kB / 355 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.1005, allocations: 7.906 kB / 355 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.28e-05/0.1005, allocations: 12.38 kB / 355 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1005, allocations: 4 kB / 355.1 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.1005, allocations: 3.938 kB / 355.1 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1005, allocations: 0 / 355.1 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/0.1007, allocations: 193.6 kB / 355.2 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1007, allocations: 3.938 kB / 355.3 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/0.1009, allocations: 27.98 kB / 355.3 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1009, allocations: 0 / 355.3 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.1009, allocations: 0 / 355.3 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1009, allocations: 0 / 355.3 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.1009, allocations: 7.938 kB / 355.3 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.1011, allocations: 207.4 kB / 355.5 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.446e-05/0.1012, allocations: 81.02 kB / 355.6 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.1012, allocations: 4 kB / 355.6 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.244e-05/0.1013, allocations: 4 kB / 355.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.111e-05/0.1013, allocations: 11.97 kB / 355.6 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.1013, allocations: 7.938 kB / 355.6 MB, free: 14.29 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.617e-05/0.1014, allocations: 91.27 kB / 355.7 MB, free: 14.2 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1014, allocations: 3.938 kB / 355.7 MB, free: 14.19 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002525/0.1017, allocations: 27.94 kB / 355.7 MB, free: 14.16 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.225e-05/0.1017, allocations: 99.19 kB / 355.8 MB, free: 14.06 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001327/0.1019, allocations: 63.92 kB / 355.9 MB, free: 14 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1019, allocations: 0 / 355.9 MB, free: 14 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.033e-05/0.1019, allocations: 27.98 kB / 355.9 MB, free: 13.97 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.1023, allocations: 16 kB / 355.9 MB, free: 13.95 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006883/0.103, allocations: 464.8 kB / 356.4 MB, free: 13.47 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.1032, allocations: 0.7004 MB / 357.1 MB, free: 12.74 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.352e-05/0.1033, allocations: 12.42 kB / 357.1 MB, free: 12.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.898e-05/0.1033, allocations: 11.44 kB / 357.1 MB, free: 12.72 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1033, allocations: 0 / 357.1 MB, free: 12.72 MB / 302.1 MB Notification: Performance of Templates: time 0.002914/0.1062, allocations: 0.8759 MB / 358 MB, free: 11.86 MB / 302.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches