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.00162/0.00162, allocations: 179.1 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.741/1.741, allocations: 205.3 MB / 214.4 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000881/0.0008808, allocations: 90.36 kB / 262.5 MB, free: 1.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.938e-05/1.94e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09727/0.0973, allocations: 47.58 MB / 363.1 MB, free: 7.07 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3353/0.4327, allocations: 76.57 MB / 439.6 MB, free: 3.082 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/0.433, allocations: 68.72 kB / 439.7 MB, free: 3.047 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006559/0.4395, allocations: 2.474 MB / 442.2 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4396, allocations: 0 / 442.2 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.4396, allocations: 4 kB / 442.2 MB, free: 0.9805 MB / 314.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.0004429/0.4401, allocations: 387.7 kB / 442.6 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.4401, allocations: 12.03 kB / 442.6 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001714/0.4403, allocations: 19.89 kB / 442.6 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.4405, allocations: 184.8 kB / 442.8 MB, free: 324 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.4405, allocations: 7.125 kB / 442.8 MB, free: 320 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.761e-05/0.4406, allocations: 11.98 kB / 442.8 MB, free: 308 kB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001582/0.4407, allocations: 56.55 kB / 442.8 MB, free: 272 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.4409, allocations: 76.17 kB / 442.9 MB, free: 204 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.4409, allocations: 4 kB / 442.9 MB, free: 200 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.4409, allocations: 0 / 442.9 MB, free: 200 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.4409, allocations: 7.984 kB / 442.9 MB, free: 192 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007102/0.4416, allocations: 449.9 kB / 443.4 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/0.4419, allocations: 76.53 kB / 443.4 MB, free: 15.68 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.146e-05/0.4419, allocations: 25.23 kB / 443.5 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.442, allocations: 48 / 443.5 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.442, allocations: 42.48 kB / 443.5 MB, free: 15.61 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.442, allocations: 0 / 443.5 MB, free: 15.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002063/0.4422, allocations: 71.17 kB / 443.6 MB, free: 15.55 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.4423, allocations: 59.41 kB / 443.6 MB, free: 15.48 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.756e-05/0.4424, allocations: 107.2 kB / 443.7 MB, free: 15.37 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.4424, allocations: 25.7 kB / 443.8 MB, free: 15.34 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.482e-05/0.4425, allocations: 108.6 kB / 443.9 MB, free: 15.24 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.4425, allocations: 31.11 kB / 443.9 MB, free: 15.21 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-06/0.4425, allocations: 3.938 kB / 443.9 MB, free: 15.21 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.4426, allocations: 318.1 kB / 444.2 MB, free: 14.89 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.652e-05/0.4427, allocations: 19.25 kB / 444.2 MB, free: 14.88 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.87e-05/0.4428, allocations: 49.81 kB / 444.3 MB, free: 14.83 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.127e-05/0.4428, allocations: 30.42 kB / 444.3 MB, free: 14.81 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.4428, allocations: 3.938 kB / 444.3 MB, free: 14.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001404/0.443, allocations: 92.22 kB / 444.4 MB, free: 14.72 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.443, allocations: 8 kB / 444.4 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.443, allocations: 4.094 kB / 444.4 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.443, allocations: 0 / 444.4 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.4431, allocations: 31.92 kB / 444.4 MB, free: 14.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.4432, allocations: 0 / 444.4 MB, free: 14.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.89e-05/0.4432, allocations: 7.906 kB / 444.5 MB, free: 14.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.4432, allocations: 7.953 kB / 444.5 MB, free: 14.66 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 7.589e-05/0.4433, allocations: 104.9 kB / 444.6 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.782e-05/0.4434, allocations: 11.11 kB / 444.6 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.646e-05/0.4434, allocations: 8.562 kB / 444.6 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.4434, allocations: 8 kB / 444.6 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.4434, allocations: 0 / 444.6 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.4434, allocations: 0 / 444.6 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/0.4436, allocations: 169.6 kB / 444.8 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.4436, allocations: 0 / 444.8 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.4437, allocations: 30.61 kB / 444.8 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.4438, allocations: 4 kB / 444.8 MB, free: 14.31 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.659e-06/0.4438, allocations: 0 / 444.8 MB, free: 14.31 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4438, allocations: 0 / 444.8 MB, free: 14.31 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4438, allocations: 0 / 444.8 MB, free: 14.31 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.444, allocations: 204.2 kB / 445 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.213e-05/0.4441, allocations: 85.02 kB / 445.1 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.4441, allocations: 3.562 kB / 445.1 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.094e-05/0.4442, allocations: 96 / 445.1 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.689e-05/0.4442, allocations: 7.938 kB / 445.1 MB, free: 14.01 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.4442, allocations: 4.031 kB / 445.1 MB, free: 14 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.999e-05/0.4443, allocations: 88.33 kB / 445.2 MB, free: 13.92 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.974e-06/0.4443, allocations: 0 / 445.2 MB, free: 13.92 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002354/0.4445, allocations: 31.88 kB / 445.2 MB, free: 13.89 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.0001332/0.4446, allocations: 99.19 kB / 445.3 MB, free: 13.79 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000129/0.4448, allocations: 57.48 kB / 445.4 MB, free: 13.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4448, allocations: 0 / 445.4 MB, free: 13.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.239e-05/0.4448, allocations: 19.38 kB / 445.4 MB, free: 13.73 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.4451, allocations: 19.53 kB / 445.4 MB, free: 13.71 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006262/0.4457, allocations: 315.8 kB / 445.7 MB, free: 13.39 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.446, allocations: 0.704 MB / 446.4 MB, free: 12.66 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.312e-05/0.4461, allocations: 8.422 kB / 446.4 MB, free: 12.65 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.722e-05/0.4461, allocations: 15.44 kB / 446.4 MB, free: 12.64 MB / 330.7 MB Notification: Performance of SimCode: time 5.01e-07/0.4461, allocations: 0 / 446.4 MB, free: 12.64 MB / 330.7 MB Notification: Performance of Templates: time 0.00282/0.449, allocations: 0.805 MB / 447.2 MB, free: 11.85 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