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.001145/0.00115, allocations: 94.72 kB / 16.3 MB, free: 5.996 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.001255/0.001255, allocations: 183.1 kB / 17.2 MB, free: 5.898 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.258/1.258, allocations: 223.2 MB / 241.1 MB, free: 300 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002298/0.0002298, allocations: 7.938 kB / 300.7 MB, free: 6.484 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08581/0.08605, allocations: 50.41 MB / 351.1 MB, free: 4.066 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.001593/0.08768, allocations: 1.396 MB / 352.5 MB, free: 2.66 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007285/0.08842, allocations: 0.5849 MB / 353.1 MB, free: 2.07 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.931e-05/0.08849, allocations: 0 / 353.1 MB, free: 2.07 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.014e-05/0.08853, allocations: 15.91 kB / 353.1 MB, free: 2.055 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.728e-05/0.08863, allocations: 43.84 kB / 353.2 MB, free: 2.012 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001611/0.0888, allocations: 35.94 kB / 353.2 MB, free: 1.977 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.08895, allocations: 83.81 kB / 353.3 MB, free: 1.895 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.68e-05/0.08905, allocations: 27.88 kB / 353.3 MB, free: 1.867 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.642e-05/0.08911, allocations: 39.86 kB / 353.4 MB, free: 1.828 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.578e-05/0.08919, allocations: 43.83 kB / 353.4 MB, free: 1.785 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.08921, allocations: 4 kB / 353.4 MB, free: 1.781 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.993e-05/0.08928, allocations: 27.98 kB / 353.4 MB, free: 1.754 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.371e-05/0.0893, allocations: 7.938 kB / 353.4 MB, free: 1.746 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.631e-05/0.08935, allocations: 45.64 kB / 353.5 MB, free: 1.695 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.08947, allocations: 92.05 kB / 353.6 MB, free: 1.605 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.08948, allocations: 0 / 353.6 MB, free: 1.605 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.08949, allocations: 4 kB / 353.6 MB, free: 1.602 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.0895, allocations: 0 / 353.6 MB, free: 1.602 MB / 286.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.0004156/0.08992, allocations: 391.1 kB / 354 MB, free: 1.172 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.952e-05/0.08995, allocations: 12.03 kB / 354 MB, free: 1.16 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000175/0.09013, allocations: 23.84 kB / 354 MB, free: 1.137 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.09031, allocations: 194.9 kB / 354.2 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.09033, allocations: 4.188 kB / 354.2 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.09037, allocations: 15.91 kB / 354.2 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.09053, allocations: 87.16 kB / 354.3 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.09056, allocations: 4 kB / 354.3 MB, free: 0.793 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.09058, allocations: 11.94 kB / 354.3 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.09059, allocations: 0 / 354.3 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.09071, allocations: 60.48 kB / 354.4 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006606/0.09138, allocations: 486 kB / 354.8 MB, free: 188 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.09161, allocations: 86.52 kB / 354.9 MB, free: 92 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.09163, allocations: 0 / 354.9 MB, free: 92 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.09166, allocations: 34.56 kB / 355 MB, free: 48 kB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 8.91e-07/0.09167, allocations: 0 / 355 MB, free: 48 kB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002151/0.09189, allocations: 97.56 kB / 355 MB, free: 15.95 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.09193, allocations: 63.41 kB / 355.1 MB, free: 15.87 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.257e-05/0.09202, allocations: 109.8 kB / 355.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.09205, allocations: 29.7 kB / 355.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.809e-05/0.09211, allocations: 103.9 kB / 355.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/0.09214, allocations: 31.55 kB / 355.4 MB, free: 15.58 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.795e-06/0.09215, allocations: 8 kB / 355.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.73e-05/0.09226, allocations: 322.8 kB / 355.7 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.129e-05/0.0923, allocations: 24 kB / 355.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.806e-05/0.09237, allocations: 51.42 kB / 355.8 MB, free: 15.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.863e-05/0.09243, allocations: 27.98 kB / 355.8 MB, free: 15.14 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.09244, allocations: 0 / 355.8 MB, free: 15.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000151/0.0926, allocations: 113.5 kB / 355.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.09262, allocations: 4 kB / 355.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.09263, allocations: 96 / 355.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.09265, allocations: 11.94 kB / 355.9 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.09276, allocations: 27.92 kB / 356 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.09277, allocations: 320 / 356 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.105e-05/0.09284, allocations: 7.906 kB / 356 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/0.09286, allocations: 8 kB / 356 MB, free: 14.96 MB / 302.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.8e-05/0.09294, allocations: 121.7 kB / 356.1 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.09297, allocations: 7.906 kB / 356.1 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.635e-05/0.09302, allocations: 20.45 kB / 356.1 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.09303, allocations: 7.938 kB / 356.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.09303, allocations: 0 / 356.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.09304, allocations: 0 / 356.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.09323, allocations: 205.7 kB / 356.3 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.09324, allocations: 0 / 356.3 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.09337, allocations: 20 kB / 356.3 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.09338, allocations: 0 / 356.3 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.09339, allocations: 0 / 356.3 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.0934, allocations: 0 / 356.3 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.0934, allocations: 7.969 kB / 356.4 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002041/0.09362, allocations: 203.5 kB / 356.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.099e-05/0.09367, allocations: 89 kB / 356.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.09369, allocations: 4 kB / 356.6 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.912e-05/0.09378, allocations: 8 kB / 356.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.953e-05/0.0938, allocations: 7.938 kB / 356.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.09381, allocations: 0 / 356.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.472e-05/0.09386, allocations: 91.27 kB / 356.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.09387, allocations: 0 / 356.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002454/0.09412, allocations: 31.94 kB / 356.8 MB, free: 14.05 MB / 302.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 9.016e-05/0.09421, allocations: 95.25 kB / 356.9 MB, free: 13.95 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001318/0.09435, allocations: 67.89 kB / 356.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.09436, allocations: 0 / 356.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.95e-05/0.0944, allocations: 24 kB / 357 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.09466, allocations: 19.44 kB / 357 MB, free: 13.85 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007483/0.09542, allocations: 0.5244 MB / 357.5 MB, free: 13.29 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.09568, allocations: 0.7043 MB / 358.2 MB, free: 12.56 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.845e-05/0.09574, allocations: 8.422 kB / 358.2 MB, free: 12.55 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.707e-05/0.09577, allocations: 11.44 kB / 358.2 MB, free: 12.54 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.09577, allocations: 0 / 358.2 MB, free: 12.54 MB / 302.1 MB Notification: Performance of Templates: time 0.002783/0.09856, allocations: 0.8408 MB / 359.1 MB, free: 11.71 MB / 302.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","../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches