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.001885/0.001886, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00094/0.0009399, allocations: 111.4 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000838/0.000838, allocations: 43.94 kB / 350 MB, free: 76 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.271, allocations: 49.44 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.00262/0.2737, allocations: 1.811 MB / 401.3 MB, free: 31.55 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008501/0.2746, allocations: 0.6349 MB / 401.9 MB, free: 30.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.617e-05/0.2747, allocations: 4 kB / 401.9 MB, free: 30.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001309/0.2749, allocations: 11.86 kB / 401.9 MB, free: 30.89 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.955e-05/0.2749, allocations: 27.77 kB / 402 MB, free: 30.87 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.2751, allocations: 43.89 kB / 402 MB, free: 30.82 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.2753, allocations: 119.4 kB / 402.1 MB, free: 30.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.2754, allocations: 27.95 kB / 402.1 MB, free: 30.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.383e-05/0.2754, allocations: 43.8 kB / 402.2 MB, free: 30.64 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.169e-05/0.2755, allocations: 43.78 kB / 402.2 MB, free: 30.59 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.2755, allocations: 8 kB / 402.2 MB, free: 30.59 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.695e-05/0.2756, allocations: 23.94 kB / 402.3 MB, free: 30.56 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.795e-05/0.2757, allocations: 11.92 kB / 402.3 MB, free: 30.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.934e-05/0.2757, allocations: 55.72 kB / 402.3 MB, free: 30.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.2759, allocations: 121.2 kB / 402.4 MB, free: 30.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2759, allocations: 0 / 402.4 MB, free: 30.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.2759, allocations: 0 / 402.4 MB, free: 30.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.137e-06/0.2759, allocations: 0 / 402.4 MB, free: 30.38 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.0004495/0.2764, allocations: 403.4 kB / 402.8 MB, free: 29.94 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.2764, allocations: 15.97 kB / 402.9 MB, free: 29.92 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001725/0.2766, allocations: 24.83 kB / 402.9 MB, free: 29.9 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.2767, allocations: 196.1 kB / 403.1 MB, free: 29.67 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.2767, allocations: 8.562 kB / 403.1 MB, free: 29.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.2768, allocations: 8.375 kB / 403.1 MB, free: 29.65 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.277, allocations: 93.59 kB / 403.2 MB, free: 29.55 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.277, allocations: 0 / 403.2 MB, free: 29.55 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.277, allocations: 7.938 kB / 403.2 MB, free: 29.55 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.277, allocations: 4 kB / 403.2 MB, free: 29.54 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.2771, allocations: 51.97 kB / 403.2 MB, free: 29.49 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000598/0.2777, allocations: 497.1 kB / 403.7 MB, free: 28.94 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/0.278, allocations: 82.62 kB / 403.8 MB, free: 28.85 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.978e-05/0.278, allocations: 24.84 kB / 403.8 MB, free: 28.82 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.278, allocations: 8 kB / 403.8 MB, free: 28.82 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.462e-05/0.278, allocations: 34.5 kB / 403.9 MB, free: 28.77 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.2781, allocations: 0 / 403.9 MB, free: 28.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002049/0.2783, allocations: 105.7 kB / 404 MB, free: 28.66 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.296e-05/0.2783, allocations: 55.34 kB / 404 MB, free: 28.6 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.414e-05/0.2784, allocations: 117.8 kB / 404.1 MB, free: 28.47 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.2784, allocations: 25.7 kB / 404.2 MB, free: 28.44 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.91e-05/0.2784, allocations: 107.9 kB / 404.3 MB, free: 28.33 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/0.2784, allocations: 35.55 kB / 404.3 MB, free: 28.3 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/0.2785, allocations: 25.72 kB / 404.3 MB, free: 28.27 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.792e-05/0.2785, allocations: 318.8 kB / 404.7 MB, free: 27.95 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.659e-05/0.2786, allocations: 23.98 kB / 404.7 MB, free: 27.92 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.984e-05/0.2787, allocations: 52.73 kB / 404.7 MB, free: 27.86 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.403e-05/0.2788, allocations: 83.31 kB / 404.8 MB, free: 27.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2788, allocations: 0 / 404.8 MB, free: 27.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000127/0.2789, allocations: 105.5 kB / 404.9 MB, free: 27.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.2789, allocations: 4 kB / 404.9 MB, free: 27.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.2789, allocations: 7.984 kB / 404.9 MB, free: 27.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.279, allocations: 0 / 404.9 MB, free: 27.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.2791, allocations: 31.88 kB / 405 MB, free: 27.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.2791, allocations: 12.03 kB / 405 MB, free: 27.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.795e-05/0.2791, allocations: 7.891 kB / 405 MB, free: 27.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.2792, allocations: 8 kB / 405 MB, free: 27.59 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.65e-05/0.2792, allocations: 125.7 kB / 405.1 MB, free: 27.45 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.2793, allocations: 7.906 kB / 405.1 MB, free: 27.45 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.618e-05/0.2793, allocations: 12.38 kB / 405.1 MB, free: 27.43 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2793, allocations: 0 / 405.1 MB, free: 27.43 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.2793, allocations: 3.938 kB / 405.1 MB, free: 27.43 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.2793, allocations: 4 kB / 405.1 MB, free: 27.42 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.2795, allocations: 209.5 kB / 405.3 MB, free: 27.17 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2795, allocations: 0 / 405.3 MB, free: 27.17 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.2796, allocations: 19.98 kB / 405.4 MB, free: 27.15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2796, allocations: 0 / 405.4 MB, free: 27.15 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.2796, allocations: 0 / 405.4 MB, free: 27.15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.2796, allocations: 4 kB / 405.4 MB, free: 27.14 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2796, allocations: 3.938 kB / 405.4 MB, free: 27.14 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001595/0.2812, allocations: 1.371 MB / 406.7 MB, free: 25.63 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.192e-05/0.2813, allocations: 84.95 kB / 406.8 MB, free: 25.53 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.2813, allocations: 4 kB / 406.8 MB, free: 25.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.235e-05/0.2814, allocations: 4.031 kB / 406.8 MB, free: 25.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.083e-05/0.2814, allocations: 4 kB / 406.8 MB, free: 25.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.2814, allocations: 7.938 kB / 406.8 MB, free: 25.51 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.057e-05/0.2815, allocations: 91.27 kB / 406.9 MB, free: 25.42 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2815, allocations: 96 / 406.9 MB, free: 25.42 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003314/0.2818, allocations: 51.78 kB / 407 MB, free: 25.37 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001113/0.2819, allocations: 95.31 kB / 407.1 MB, free: 25.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001393/0.2821, allocations: 63.98 kB / 407.1 MB, free: 25.21 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2821, allocations: 0 / 407.1 MB, free: 25.21 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.643e-05/0.2821, allocations: 27.98 kB / 407.2 MB, free: 25.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004132/0.2825, allocations: 24 kB / 407.2 MB, free: 25.16 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008027/0.2833, allocations: 0.5891 MB / 407.8 MB, free: 24.52 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001478/0.2835, allocations: 0.7043 MB / 408.5 MB, free: 23.79 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.793e-05/0.2836, allocations: 4.438 kB / 408.5 MB, free: 23.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.789e-05/0.2836, allocations: 11.44 kB / 408.5 MB, free: 23.78 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2836, allocations: 4 kB / 408.5 MB, free: 23.77 MB / 298.7 MB Notification: Performance of Templates: time 0.003568/0.2872, allocations: 1.287 MB / 409.8 MB, free: 22.5 MB / 298.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@2/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