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/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 3.2.3+maint.om/package.mo", uses=false) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 113.3 kB / 17.28 MB, free: 6.301 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.001849/0.001849, allocations: 189.3 kB / 18.19 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 205.1 MB / 224.1 MB, free: 12.42 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 48.14 kB / 280.2 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1513, allocations: 46.62 MB / 326.8 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003892/0.1553, allocations: 1.82 MB / 328.6 MB, free: 2.957 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.1566, allocations: 0.6671 MB / 329.3 MB, free: 2.281 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001365/0.1567, allocations: 4 kB / 329.3 MB, free: 2.277 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001415/0.1569, allocations: 11.86 kB / 329.3 MB, free: 2.266 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.157, allocations: 27.77 kB / 329.3 MB, free: 2.238 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002802/0.1573, allocations: 39.89 kB / 329.3 MB, free: 2.199 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001855/0.1575, allocations: 119.4 kB / 329.5 MB, free: 2.082 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.1577, allocations: 35.95 kB / 329.5 MB, free: 2.047 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.457e-05/0.1577, allocations: 47.8 kB / 329.5 MB, free: 2 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.813e-05/0.1578, allocations: 39.8 kB / 329.6 MB, free: 1.961 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.1579, allocations: 8 kB / 329.6 MB, free: 1.953 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.934e-05/0.158, allocations: 27.98 kB / 329.6 MB, free: 1.926 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.364e-05/0.158, allocations: 19.91 kB / 329.6 MB, free: 1.906 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.117e-05/0.1581, allocations: 51.8 kB / 329.7 MB, free: 1.855 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.1583, allocations: 127.9 kB / 329.8 MB, free: 1.73 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1583, allocations: 0 / 329.8 MB, free: 1.73 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1583, allocations: 3.938 kB / 329.8 MB, free: 1.727 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.323e-06/0.1583, allocations: 0 / 329.8 MB, free: 1.727 MB / 270.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.0005854/0.1589, allocations: 407.3 kB / 330.2 MB, free: 1.281 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.1589, allocations: 15.89 kB / 330.2 MB, free: 1.266 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002108/0.1592, allocations: 24.77 kB / 330.3 MB, free: 1.242 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.1594, allocations: 192.2 kB / 330.4 MB, free: 1.016 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.1594, allocations: 8.562 kB / 330.5 MB, free: 1.008 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.773e-05/0.1594, allocations: 12.38 kB / 330.5 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.1596, allocations: 97.53 kB / 330.6 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.1597, allocations: 4 kB / 330.6 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.1597, allocations: 4 kB / 330.6 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1597, allocations: 3.938 kB / 330.6 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.1598, allocations: 55.97 kB / 330.6 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007603/0.1606, allocations: 493.1 kB / 331.1 MB, free: 288 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002636/0.1609, allocations: 82.58 kB / 331.2 MB, free: 196 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.678e-05/0.1609, allocations: 28.89 kB / 331.2 MB, free: 164 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.161, allocations: 3.938 kB / 331.2 MB, free: 160 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.161, allocations: 34.56 kB / 331.3 MB, free: 116 kB / 270.1 MB Notification: Performance of pre-optimization done (n=8): time 2.735e-06/0.161, allocations: 4 kB / 331.3 MB, free: 112 kB / 270.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002556/0.1613, allocations: 93.58 kB / 331.3 MB, free: 12 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.221e-05/0.1613, allocations: 59.34 kB / 331.4 MB, free: 15.94 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.1614, allocations: 113.8 kB / 331.5 MB, free: 15.82 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.1615, allocations: 29.7 kB / 331.5 MB, free: 15.79 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.703e-05/0.1615, allocations: 111.9 kB / 331.7 MB, free: 15.67 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.1616, allocations: 31.55 kB / 331.7 MB, free: 15.64 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.793e-05/0.1616, allocations: 25.72 kB / 331.7 MB, free: 15.61 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.1618, allocations: 322.8 kB / 332 MB, free: 15.29 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.481e-05/0.1618, allocations: 20 kB / 332 MB, free: 15.27 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.11e-05/0.1619, allocations: 55.36 kB / 332.1 MB, free: 15.2 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/0.162, allocations: 83.3 kB / 332.2 MB, free: 15.11 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.162, allocations: 4 kB / 332.2 MB, free: 15.1 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001825/0.1622, allocations: 113.5 kB / 332.3 MB, free: 14.98 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.1622, allocations: 4 kB / 332.3 MB, free: 14.98 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.1622, allocations: 320 / 332.3 MB, free: 14.98 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.1622, allocations: 4 kB / 332.3 MB, free: 14.98 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.1624, allocations: 23.98 kB / 332.3 MB, free: 14.95 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.1624, allocations: 3.938 kB / 332.3 MB, free: 14.95 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.125e-05/0.1625, allocations: 11.84 kB / 332.3 MB, free: 14.94 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.1625, allocations: 7.984 kB / 332.4 MB, free: 14.93 MB / 286.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 9.96e-05/0.1626, allocations: 129.9 kB / 332.5 MB, free: 14.79 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.1626, allocations: 4 kB / 332.5 MB, free: 14.79 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.701e-05/0.1627, allocations: 12.38 kB / 332.5 MB, free: 14.78 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.1627, allocations: 4 kB / 332.5 MB, free: 14.77 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.1627, allocations: 7.875 kB / 332.5 MB, free: 14.77 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1627, allocations: 0 / 332.5 MB, free: 14.77 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.1629, allocations: 201.7 kB / 332.7 MB, free: 14.52 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1629, allocations: 0 / 332.7 MB, free: 14.52 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.1631, allocations: 23.98 kB / 332.7 MB, free: 14.5 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1631, allocations: 4 kB / 332.7 MB, free: 14.49 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.1631, allocations: 0 / 332.7 MB, free: 14.49 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1631, allocations: 0 / 332.7 MB, free: 14.49 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.1631, allocations: 3.938 kB / 332.7 MB, free: 14.49 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.1634, allocations: 211.4 kB / 332.9 MB, free: 14.27 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.193e-05/0.1634, allocations: 81.02 kB / 333 MB, free: 14.17 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.1635, allocations: 4 kB / 333 MB, free: 14.16 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.74e-05/0.1635, allocations: 0 / 333 MB, free: 14.16 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.521e-05/0.1636, allocations: 19.97 kB / 333 MB, free: 14.14 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.1636, allocations: 0 / 333 MB, free: 14.14 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.363e-05/0.1636, allocations: 91.7 kB / 333.1 MB, free: 14.05 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1637, allocations: 0 / 333.1 MB, free: 14.05 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002496/0.1639, allocations: 31.94 kB / 333.2 MB, free: 14.02 MB / 286.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 0.0001061/0.164, allocations: 95.58 kB / 333.3 MB, free: 13.92 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001876/0.1642, allocations: 67.94 kB / 333.3 MB, free: 13.85 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1642, allocations: 4.188 kB / 333.3 MB, free: 13.85 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.602e-05/0.1643, allocations: 31.92 kB / 333.4 MB, free: 13.82 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.1647, allocations: 16.19 kB / 333.4 MB, free: 13.8 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000817/0.1655, allocations: 458.8 kB / 333.8 MB, free: 13.32 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.1659, allocations: 0.7002 MB / 334.5 MB, free: 12.6 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.264e-05/0.166, allocations: 8.438 kB / 334.5 MB, free: 12.59 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.07e-05/0.166, allocations: 11.44 kB / 334.5 MB, free: 12.58 MB / 286.1 MB Notification: Performance of SimCode: time 2.61e-07/0.166, allocations: 0 / 334.5 MB, free: 12.58 MB / 286.1 MB Notification: Performance of Templates: time 0.003368/0.1694, allocations: 0.9068 MB / 335.5 MB, free: 11.68 MB / 286.1 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