Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.0009303/0.0009303, allocations: 176.8 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.358/1.358, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007927/0.0007928, allocations: 82.38 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003068/0.0003069, allocations: 15.98 kB / 327 MB, free: 196 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.225, allocations: 47.57 MB / 374.6 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002024/0.2271, allocations: 1.434 MB / 376 MB, free: 44.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.2282, allocations: 0.6394 MB / 376.6 MB, free: 43.79 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.847e-05/0.2283, allocations: 2.312 kB / 376.6 MB, free: 43.79 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.936e-05/0.2284, allocations: 8.953 kB / 376.6 MB, free: 43.79 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.747e-05/0.2285, allocations: 36.14 kB / 376.7 MB, free: 43.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001882/0.2287, allocations: 35.95 kB / 376.7 MB, free: 43.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.2288, allocations: 116.7 kB / 376.8 MB, free: 43.66 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.2289, allocations: 17.8 kB / 376.8 MB, free: 43.65 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.96e-05/0.229, allocations: 39.08 kB / 376.9 MB, free: 43.63 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.187e-05/0.2291, allocations: 43.11 kB / 376.9 MB, free: 43.6 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.2291, allocations: 4.281 kB / 376.9 MB, free: 43.6 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.59e-05/0.2292, allocations: 22.52 kB / 376.9 MB, free: 43.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.402e-05/0.2292, allocations: 15.08 kB / 377 MB, free: 43.58 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.35e-05/0.2292, allocations: 49.05 kB / 377 MB, free: 43.54 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.2294, allocations: 86.33 kB / 377.1 MB, free: 43.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2294, allocations: 5.062 kB / 377.1 MB, free: 43.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2294, allocations: 0 / 377.1 MB, free: 43.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.2294, allocations: 0 / 377.1 MB, free: 43.48 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.0004083/0.2298, allocations: 381.7 kB / 377.5 MB, free: 43.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.2299, allocations: 13.19 kB / 377.5 MB, free: 43.09 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001689/0.23, allocations: 27.83 kB / 377.5 MB, free: 43.07 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.2302, allocations: 199.4 kB / 377.7 MB, free: 42.85 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.2302, allocations: 11.41 kB / 377.7 MB, free: 42.84 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.671e-05/0.2302, allocations: 6.438 kB / 377.7 MB, free: 42.84 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.2304, allocations: 92.81 kB / 377.8 MB, free: 42.77 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.2304, allocations: 1.125 kB / 377.8 MB, free: 42.77 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.2305, allocations: 4.938 kB / 377.8 MB, free: 42.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.2305, allocations: 1.781 kB / 377.8 MB, free: 42.77 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.2306, allocations: 63.06 kB / 377.9 MB, free: 42.74 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006326/0.2312, allocations: 489.9 kB / 378.4 MB, free: 42.28 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/0.2315, allocations: 80.62 kB / 378.4 MB, free: 42.23 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.108e-05/0.2315, allocations: 28.61 kB / 378.5 MB, free: 42.21 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.2315, allocations: 4.953 kB / 378.5 MB, free: 42.2 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.265e-05/0.2316, allocations: 39.55 kB / 378.5 MB, free: 42.16 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/0.2316, allocations: 0 / 378.5 MB, free: 42.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001995/0.2318, allocations: 99.7 kB / 378.6 MB, free: 42.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/0.2318, allocations: 52.66 kB / 378.7 MB, free: 42.03 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.9e-05/0.2319, allocations: 115.3 kB / 378.8 MB, free: 41.92 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.775e-06/0.2319, allocations: 26.77 kB / 378.8 MB, free: 41.89 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.601e-05/0.2319, allocations: 109.3 kB / 378.9 MB, free: 41.78 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.2319, allocations: 30.83 kB / 378.9 MB, free: 41.75 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/0.232, allocations: 5.188 kB / 378.9 MB, free: 41.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.977e-05/0.232, allocations: 317.1 kB / 379.2 MB, free: 41.43 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.995e-05/0.232, allocations: 23.55 kB / 379.3 MB, free: 41.42 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.902e-05/0.2321, allocations: 50.55 kB / 379.3 MB, free: 41.38 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.16e-05/0.2322, allocations: 34.84 kB / 379.4 MB, free: 41.36 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.2322, allocations: 4 kB / 379.4 MB, free: 41.35 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001439/0.2323, allocations: 110 kB / 379.5 MB, free: 41.28 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.2323, allocations: 10.33 kB / 379.5 MB, free: 41.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.2323, allocations: 1 kB / 379.5 MB, free: 41.28 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.2324, allocations: 2.062 kB / 379.5 MB, free: 41.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.2325, allocations: 25.09 kB / 379.5 MB, free: 41.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.2325, allocations: 4.953 kB / 379.5 MB, free: 41.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.979e-05/0.2325, allocations: 11.56 kB / 379.5 MB, free: 41.26 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.2326, allocations: 7.688 kB / 379.5 MB, free: 41.26 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.11e-05/0.2326, allocations: 121.9 kB / 379.6 MB, free: 41.13 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.2327, allocations: 8.328 kB / 379.7 MB, free: 41.13 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.059e-05/0.2327, allocations: 13.3 kB / 379.7 MB, free: 41.12 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.2327, allocations: 1.406 kB / 379.7 MB, free: 41.12 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2327, allocations: 0.9062 kB / 379.7 MB, free: 41.12 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2327, allocations: 3.984 kB / 379.7 MB, free: 41.12 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.2329, allocations: 202.7 kB / 379.9 MB, free: 40.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2329, allocations: 0 / 379.9 MB, free: 40.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.233, allocations: 30.27 kB / 379.9 MB, free: 40.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.233, allocations: 0 / 379.9 MB, free: 40.88 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.233, allocations: 1.125 kB / 379.9 MB, free: 40.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.233, allocations: 4.984 kB / 379.9 MB, free: 40.88 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.233, allocations: 0 / 379.9 MB, free: 40.88 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001812/0.2332, allocations: 209.4 kB / 380.1 MB, free: 40.7 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.074e-05/0.2333, allocations: 83.27 kB / 380.2 MB, free: 40.6 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.2333, allocations: 5.125 kB / 380.2 MB, free: 40.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.737e-05/0.2334, allocations: 5.094 kB / 380.2 MB, free: 40.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.521e-05/0.2334, allocations: 10.17 kB / 380.2 MB, free: 40.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.2334, allocations: 2.188 kB / 380.2 MB, free: 40.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.595e-05/0.2334, allocations: 98.23 kB / 380.3 MB, free: 40.5 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.2334, allocations: 0 / 380.3 MB, free: 40.5 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002162/0.2337, allocations: 20.41 kB / 380.3 MB, free: 40.5 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 (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.041e-05/0.2337, allocations: 96.5 kB / 380.4 MB, free: 40.41 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001492/0.2339, allocations: 67.91 kB / 380.5 MB, free: 40.38 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2339, allocations: 0 / 380.5 MB, free: 40.38 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.743e-05/0.234, allocations: 31.36 kB / 380.5 MB, free: 40.36 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.2343, allocations: 16.61 kB / 380.5 MB, free: 40.35 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005995/0.2349, allocations: 0.5517 MB / 381.1 MB, free: 39.88 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.235, allocations: 0.6945 MB / 381.8 MB, free: 39.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.027e-05/0.235, allocations: 12.66 kB / 381.8 MB, free: 39.17 MB / 298.7 MB Notification: Performance of SimCode: time 2.51e-07/0.235, allocations: 0 / 381.8 MB, free: 39.17 MB / 298.7 MB Notification: Performance of Templates: time 0.002262/0.2373, allocations: 1.273 MB / 383.1 MB, free: 38.52 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches