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.001179/0.001179, allocations: 111.5 kB / 17.06 MB, free: 5.973 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.001225/0.001225, allocations: 200 kB / 18.01 MB, free: 5.055 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.341/1.341, allocations: 222.9 MB / 241.7 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009141/0.0009141, allocations: 51.92 kB / 351.3 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2692, allocations: 49.43 MB / 400.7 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003142/0.2724, allocations: 1.769 MB / 402.5 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009768/0.2734, allocations: 0.6349 MB / 403.1 MB, free: 6.48 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.232e-05/0.2735, allocations: 3.938 kB / 403.1 MB, free: 6.477 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.2736, allocations: 15.86 kB / 403.1 MB, free: 6.461 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.303e-05/0.2737, allocations: 39.64 kB / 403.2 MB, free: 6.422 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002157/0.2739, allocations: 43.88 kB / 403.2 MB, free: 6.379 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.2741, allocations: 123.3 kB / 403.3 MB, free: 6.258 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.2742, allocations: 39.95 kB / 403.4 MB, free: 6.219 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.744e-05/0.2743, allocations: 43.91 kB / 403.4 MB, free: 6.176 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.993e-05/0.2744, allocations: 39.8 kB / 403.4 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.2744, allocations: 8 kB / 403.5 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.851e-05/0.2745, allocations: 23.98 kB / 403.5 MB, free: 6.105 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.329e-05/0.2745, allocations: 19.92 kB / 403.5 MB, free: 6.086 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.472e-05/0.2746, allocations: 55.73 kB / 403.6 MB, free: 6.031 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001877/0.2748, allocations: 132.6 kB / 403.7 MB, free: 5.906 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2748, allocations: 0 / 403.7 MB, free: 5.906 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2748, allocations: 0 / 403.7 MB, free: 5.906 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.2748, allocations: 4 kB / 403.7 MB, free: 5.902 MB / 318.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.0004939/0.2753, allocations: 403.3 kB / 404.1 MB, free: 5.461 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.2753, allocations: 11.89 kB / 404.1 MB, free: 5.449 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001745/0.2755, allocations: 24.83 kB / 404.1 MB, free: 5.426 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.2757, allocations: 200.1 kB / 404.3 MB, free: 5.191 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.2757, allocations: 12.5 kB / 404.3 MB, free: 5.18 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.416e-05/0.2758, allocations: 16.38 kB / 404.3 MB, free: 5.164 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.276, allocations: 91.28 kB / 404.4 MB, free: 5.07 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.276, allocations: 8 kB / 404.4 MB, free: 5.062 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.276, allocations: 0 / 404.4 MB, free: 5.062 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.276, allocations: 0 / 404.4 MB, free: 5.062 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.2761, allocations: 59.97 kB / 404.5 MB, free: 5.004 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006908/0.2768, allocations: 489.1 kB / 405 MB, free: 4.465 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002382/0.2771, allocations: 86.55 kB / 405.1 MB, free: 4.371 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.534e-05/0.2771, allocations: 24.86 kB / 405.1 MB, free: 4.344 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.2772, allocations: 0 / 405.1 MB, free: 4.344 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.2772, allocations: 38.56 kB / 405.1 MB, free: 4.297 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.2772, allocations: 0 / 405.1 MB, free: 4.297 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002357/0.2774, allocations: 97.81 kB / 405.2 MB, free: 4.195 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.2775, allocations: 59.34 kB / 405.3 MB, free: 4.125 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.476e-05/0.2776, allocations: 121.7 kB / 405.4 MB, free: 3.996 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.2776, allocations: 25.7 kB / 405.4 MB, free: 3.965 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.598e-05/0.2777, allocations: 115.8 kB / 405.5 MB, free: 3.848 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/0.2777, allocations: 27.55 kB / 405.6 MB, free: 3.82 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.041e-05/0.2778, allocations: 21.72 kB / 405.6 MB, free: 3.793 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.2779, allocations: 322.8 kB / 405.9 MB, free: 3.469 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.595e-05/0.2779, allocations: 27.98 kB / 405.9 MB, free: 3.441 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.092e-05/0.278, allocations: 55.36 kB / 406 MB, free: 3.375 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.2781, allocations: 71.38 kB / 406 MB, free: 3.293 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.2781, allocations: 0 / 406 MB, free: 3.293 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001652/0.2783, allocations: 121.4 kB / 406.2 MB, free: 3.168 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.2783, allocations: 10.33 kB / 406.2 MB, free: 3.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.2783, allocations: 0 / 406.2 MB, free: 3.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.2783, allocations: 4 kB / 406.2 MB, free: 3.156 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.2784, allocations: 20 kB / 406.2 MB, free: 3.137 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.2785, allocations: 4.25 kB / 406.2 MB, free: 3.133 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.538e-05/0.2785, allocations: 11.98 kB / 406.2 MB, free: 3.121 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.607e-06/0.2785, allocations: 4 kB / 406.2 MB, free: 3.117 MB / 318.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 8.313e-05/0.2786, allocations: 121.9 kB / 406.3 MB, free: 2.988 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.2787, allocations: 7.906 kB / 406.3 MB, free: 2.98 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.477e-05/0.2787, allocations: 12.38 kB / 406.4 MB, free: 2.969 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2787, allocations: 0 / 406.4 MB, free: 2.969 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2787, allocations: 7.938 kB / 406.4 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.2787, allocations: 0 / 406.4 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.2789, allocations: 201.5 kB / 406.6 MB, free: 2.715 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2789, allocations: 0 / 406.6 MB, free: 2.715 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.2791, allocations: 19.98 kB / 406.6 MB, free: 2.695 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.2791, allocations: 4 kB / 406.6 MB, free: 2.691 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.2791, allocations: 8 kB / 406.6 MB, free: 2.684 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.2791, allocations: 4 kB / 406.6 MB, free: 2.68 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.2791, allocations: 7.922 kB / 406.6 MB, free: 2.672 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002191/0.2793, allocations: 207.4 kB / 406.8 MB, free: 2.453 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.198e-05/0.2794, allocations: 77.11 kB / 406.9 MB, free: 2.359 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.2794, allocations: 4 kB / 406.9 MB, free: 2.355 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.448e-05/0.2795, allocations: 4 kB / 406.9 MB, free: 2.352 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.924e-05/0.2795, allocations: 7.969 kB / 406.9 MB, free: 2.344 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.962e-06/0.2795, allocations: 8 kB / 406.9 MB, free: 2.336 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.754e-05/0.2796, allocations: 91.27 kB / 407 MB, free: 2.246 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2796, allocations: 3.938 kB / 407 MB, free: 2.242 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002427/0.2798, allocations: 27.91 kB / 407 MB, free: 2.215 MB / 318.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 9.542e-05/0.2799, allocations: 99.19 kB / 407.1 MB, free: 2.109 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001516/0.2801, allocations: 59.92 kB / 407.2 MB, free: 2.051 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2801, allocations: 0 / 407.2 MB, free: 2.051 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-05/0.2801, allocations: 36.11 kB / 407.2 MB, free: 2.016 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.2804, allocations: 16.22 kB / 407.2 MB, free: 2 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006876/0.2811, allocations: 434.8 kB / 407.7 MB, free: 1.547 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.2814, allocations: 0.7 MB / 408.4 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.441e-05/0.2815, allocations: 8.438 kB / 408.4 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.683e-05/0.2815, allocations: 11.44 kB / 408.4 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2815, allocations: 4 kB / 408.4 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of Templates: time 0.003076/0.2846, allocations: 0.9401 MB / 409.3 MB, free: 15.88 MB / 334.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