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.001304/0.001304, allocations: 101.2 kB / 16.94 MB, free: 5.98 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.001751/0.001751, allocations: 180.1 kB / 17.82 MB, free: 5.652 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.4/1.4, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004586/0.0004586, allocations: 12 kB / 280.7 MB, free: 3.762 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08699/0.08746, allocations: 47.58 MB / 328.3 MB, free: 4.117 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.001599/0.0891, allocations: 1.401 MB / 329.7 MB, free: 2.707 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007958/0.08991, allocations: 0.6131 MB / 330.3 MB, free: 2.086 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.275e-05/0.08999, allocations: 4 kB / 330.3 MB, free: 2.082 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.777e-05/0.09003, allocations: 11.86 kB / 330.4 MB, free: 2.07 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.09013, allocations: 43.91 kB / 330.4 MB, free: 2.027 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001664/0.09031, allocations: 39.88 kB / 330.4 MB, free: 1.988 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.09045, allocations: 83.81 kB / 330.5 MB, free: 1.906 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.09056, allocations: 23.95 kB / 330.5 MB, free: 1.883 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.658e-05/0.09062, allocations: 43.86 kB / 330.6 MB, free: 1.84 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.662e-05/0.0907, allocations: 39.84 kB / 330.6 MB, free: 1.801 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.09072, allocations: 4 kB / 330.6 MB, free: 1.797 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.294e-05/0.0908, allocations: 23.98 kB / 330.6 MB, free: 1.773 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.684e-05/0.09083, allocations: 15.92 kB / 330.7 MB, free: 1.758 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.259e-05/0.09086, allocations: 45.64 kB / 330.7 MB, free: 1.707 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001216/0.09099, allocations: 84.06 kB / 330.8 MB, free: 1.625 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.091, allocations: 0 / 330.8 MB, free: 1.625 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.09101, allocations: 0 / 330.8 MB, free: 1.625 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.287e-06/0.09102, allocations: 0 / 330.8 MB, free: 1.625 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.0004182/0.09144, allocations: 395.2 kB / 331.2 MB, free: 1.191 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.09148, allocations: 8.031 kB / 331.2 MB, free: 1.184 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001726/0.09166, allocations: 27.8 kB / 331.2 MB, free: 1.156 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.09183, allocations: 190.9 kB / 331.4 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.09185, allocations: 8.188 kB / 331.4 MB, free: 0.9219 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.09188, allocations: 12 kB / 331.4 MB, free: 0.9102 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.09205, allocations: 87.16 kB / 331.5 MB, free: 0.8203 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.09207, allocations: 7.938 kB / 331.5 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.09209, allocations: 4 kB / 331.5 MB, free: 0.8086 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.0921, allocations: 4 kB / 331.5 MB, free: 0.8047 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.09221, allocations: 56.47 kB / 331.6 MB, free: 0.75 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006589/0.09288, allocations: 490 kB / 332.1 MB, free: 212 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.0931, allocations: 82.62 kB / 332.1 MB, free: 120 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.009e-05/0.09312, allocations: 3.938 kB / 332.1 MB, free: 116 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.09314, allocations: 34.52 kB / 332.2 MB, free: 72 kB / 270.1 MB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.09315, allocations: 0 / 332.2 MB, free: 72 kB / 270.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002161/0.09337, allocations: 105.7 kB / 332.3 MB, free: 15.96 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/0.09341, allocations: 59.41 kB / 332.3 MB, free: 15.89 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.112e-05/0.09349, allocations: 117.8 kB / 332.4 MB, free: 15.77 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.09351, allocations: 29.7 kB / 332.5 MB, free: 15.73 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.132e-05/0.09357, allocations: 107.9 kB / 332.6 MB, free: 15.62 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.0936, allocations: 31.55 kB / 332.6 MB, free: 15.59 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-06/0.09361, allocations: 4 kB / 332.6 MB, free: 15.59 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.726e-05/0.09372, allocations: 318.8 kB / 332.9 MB, free: 15.27 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.103e-05/0.09376, allocations: 23.98 kB / 332.9 MB, free: 15.24 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.396e-05/0.09382, allocations: 51.41 kB / 333 MB, free: 15.18 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.301e-05/0.09388, allocations: 31.94 kB / 333 MB, free: 15.15 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.09389, allocations: 0 / 333 MB, free: 15.15 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001532/0.09405, allocations: 109.5 kB / 333.1 MB, free: 15.04 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.09407, allocations: 15.94 kB / 333.2 MB, free: 15.02 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.09408, allocations: 4.094 kB / 333.2 MB, free: 15.02 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.317e-06/0.09409, allocations: 0 / 333.2 MB, free: 15.02 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.09421, allocations: 28 kB / 333.2 MB, free: 14.99 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.09422, allocations: 0 / 333.2 MB, free: 14.99 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.231e-05/0.09429, allocations: 15.83 kB / 333.2 MB, free: 14.97 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.0943, allocations: 8 kB / 333.2 MB, free: 14.96 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.852e-05/0.09439, allocations: 117.8 kB / 333.3 MB, free: 14.84 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/0.09442, allocations: 7.906 kB / 333.3 MB, free: 14.83 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.666e-05/0.09446, allocations: 20.33 kB / 333.4 MB, free: 14.81 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.09447, allocations: 3.938 kB / 333.4 MB, free: 14.81 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.09448, allocations: 4 kB / 333.4 MB, free: 14.8 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.09449, allocations: 0 / 333.4 MB, free: 14.8 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.09468, allocations: 197.6 kB / 333.6 MB, free: 14.56 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.09469, allocations: 96 / 333.6 MB, free: 14.56 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.09481, allocations: 23.92 kB / 333.6 MB, free: 14.54 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.09482, allocations: 4 kB / 333.6 MB, free: 14.54 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.09484, allocations: 0 / 333.6 MB, free: 14.54 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.09484, allocations: 3.953 kB / 333.6 MB, free: 14.53 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.09485, allocations: 0 / 333.6 MB, free: 14.53 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000203/0.09506, allocations: 207.4 kB / 333.8 MB, free: 14.31 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.403e-05/0.0951, allocations: 85.02 kB / 333.9 MB, free: 14.21 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.09512, allocations: 0 / 333.9 MB, free: 14.21 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.08e-05/0.09521, allocations: 8 kB / 333.9 MB, free: 14.2 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.09524, allocations: 7.984 kB / 333.9 MB, free: 14.2 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.09525, allocations: 4 kB / 333.9 MB, free: 14.19 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.94e-05/0.0953, allocations: 91.27 kB / 334 MB, free: 14.1 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09531, allocations: 4 kB / 334 MB, free: 14.1 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002371/0.09555, allocations: 27.94 kB / 334 MB, free: 14.07 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 (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 7.654e-05/0.09563, allocations: 92.02 kB / 334.1 MB, free: 13.97 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000127/0.09577, allocations: 59.92 kB / 334.2 MB, free: 13.91 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.09577, allocations: 0 / 334.2 MB, free: 13.91 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.907e-05/0.09582, allocations: 31.92 kB / 334.2 MB, free: 13.88 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.09605, allocations: 8.188 kB / 334.2 MB, free: 13.87 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006557/0.09672, allocations: 0.5204 MB / 334.7 MB, free: 13.32 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.09697, allocations: 0.7082 MB / 335.4 MB, free: 12.59 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.752e-05/0.09702, allocations: 8.422 kB / 335.4 MB, free: 12.58 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.743e-05/0.09706, allocations: 15.42 kB / 335.4 MB, free: 12.57 MB / 286.1 MB Notification: Performance of SimCode: time 2.41e-07/0.09706, allocations: 0 / 335.4 MB, free: 12.57 MB / 286.1 MB Notification: Performance of Templates: time 0.00267/0.09974, allocations: 0.8307 MB / 336.3 MB, free: 11.74 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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