Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.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.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001992/0.001992, allocations: 173.7 kB / 16.72 MB, free: 5.082 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.717/1.717, allocations: 205.4 MB / 222.9 MB, free: 9.008 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.0007193/0.0007192, allocations: 96.95 kB / 271.2 MB, free: 8.234 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003235/0.0003239, allocations: 12 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.234, allocations: 47.57 MB / 375.1 MB, free: 45.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.001612/0.2356, allocations: 1.45 MB / 376.5 MB, free: 44.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008347/0.2365, allocations: 0.6348 MB / 377.2 MB, free: 43.79 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.597e-05/0.2366, allocations: 2.125 kB / 377.2 MB, free: 43.79 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001014/0.2367, allocations: 13.17 kB / 377.2 MB, free: 43.78 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.963e-05/0.2367, allocations: 32.05 kB / 377.2 MB, free: 43.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001835/0.2369, allocations: 36.2 kB / 377.3 MB, free: 43.72 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.2371, allocations: 118 kB / 377.4 MB, free: 43.65 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.2372, allocations: 32.47 kB / 377.4 MB, free: 43.63 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.351e-05/0.2373, allocations: 34.14 kB / 377.4 MB, free: 43.62 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.869e-05/0.2374, allocations: 49.05 kB / 377.5 MB, free: 43.59 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.2374, allocations: 4.156 kB / 377.5 MB, free: 43.59 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.531e-05/0.2375, allocations: 22.89 kB / 377.5 MB, free: 43.58 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.2375, allocations: 11.25 kB / 377.5 MB, free: 43.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.689e-05/0.2376, allocations: 71.62 kB / 377.6 MB, free: 43.51 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.2377, allocations: 100 kB / 377.7 MB, free: 43.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.2377, allocations: 0 / 377.7 MB, free: 43.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2377, allocations: 0 / 377.7 MB, free: 43.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.2377, allocations: 4 kB / 377.7 MB, free: 43.44 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.0004656/0.2382, allocations: 387.9 kB / 378.1 MB, free: 43.05 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.2383, allocations: 9.531 kB / 378.1 MB, free: 43.05 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001773/0.2384, allocations: 24.33 kB / 378.1 MB, free: 43.04 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.2386, allocations: 193.6 kB / 378.3 MB, free: 42.82 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.2386, allocations: 7.719 kB / 378.3 MB, free: 42.82 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.2387, allocations: 18.72 kB / 378.3 MB, free: 42.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.2388, allocations: 91.16 kB / 378.4 MB, free: 42.74 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.2389, allocations: 1.406 kB / 378.4 MB, free: 42.74 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.2389, allocations: 4 kB / 378.4 MB, free: 42.73 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.2389, allocations: 2.094 kB / 378.4 MB, free: 42.73 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.239, allocations: 65.39 kB / 378.5 MB, free: 42.7 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005863/0.2396, allocations: 446.1 kB / 378.9 MB, free: 42.28 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002616/0.2399, allocations: 107.9 kB / 379 MB, free: 42.21 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.617e-05/0.24, allocations: 31.06 kB / 379.1 MB, free: 42.2 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.24, allocations: 1.531 kB / 379.1 MB, free: 42.2 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.454e-05/0.24, allocations: 35.78 kB / 379.1 MB, free: 42.15 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.303e-06/0.24, allocations: 0 / 379.1 MB, free: 42.15 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.001178/0.2412, allocations: 0.5365 MB / 379.6 MB, free: 41.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.331e-05/0.2412, allocations: 52.47 kB / 379.7 MB, free: 41.62 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.521e-05/0.2413, allocations: 125.5 kB / 379.8 MB, free: 41.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.778e-06/0.2413, allocations: 34.83 kB / 379.8 MB, free: 41.46 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.236e-05/0.2414, allocations: 104.3 kB / 379.9 MB, free: 41.36 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.2414, allocations: 41.02 kB / 380 MB, free: 41.32 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.271e-06/0.2414, allocations: 0 / 380 MB, free: 41.32 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.796e-05/0.2415, allocations: 325 kB / 380.3 MB, free: 41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.672e-05/0.2415, allocations: 31.55 kB / 380.3 MB, free: 40.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.775e-05/0.2416, allocations: 66.42 kB / 380.4 MB, free: 40.93 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.2418, allocations: 94.94 kB / 380.5 MB, free: 40.86 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.2418, allocations: 5.281 kB / 380.5 MB, free: 40.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001998/0.242, allocations: 132.9 kB / 380.6 MB, free: 40.77 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.242, allocations: 9.172 kB / 380.6 MB, free: 40.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.242, allocations: 1.375 kB / 380.6 MB, free: 40.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.242, allocations: 1.531 kB / 380.6 MB, free: 40.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.2422, allocations: 34.33 kB / 380.7 MB, free: 40.76 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.2422, allocations: 1.156 kB / 380.7 MB, free: 40.76 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.668e-05/0.2422, allocations: 11.38 kB / 380.7 MB, free: 40.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.2423, allocations: 3.406 kB / 380.7 MB, free: 40.75 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 (17): * Single equations (assignments): 17 * 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.257e-05/0.2423, allocations: 127.4 kB / 380.8 MB, free: 40.62 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.062e-05/0.2424, allocations: 8.406 kB / 380.8 MB, free: 40.62 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.99e-05/0.2424, allocations: 13.5 kB / 380.8 MB, free: 40.61 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.2424, allocations: 2.156 kB / 380.8 MB, free: 40.61 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.2424, allocations: 0 / 380.8 MB, free: 40.61 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.2425, allocations: 7.922 kB / 380.8 MB, free: 40.61 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004324/0.2429, allocations: 424.8 kB / 381.2 MB, free: 40.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2429, allocations: 0 / 381.2 MB, free: 40.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001424/0.2431, allocations: 31.61 kB / 381.3 MB, free: 40.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.2431, allocations: 5.25 kB / 381.3 MB, free: 40.19 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.2431, allocations: 5.438 kB / 381.3 MB, free: 40.19 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2431, allocations: 1 kB / 381.3 MB, free: 40.19 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.2431, allocations: 0.9375 kB / 381.3 MB, free: 40.19 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.2433, allocations: 252 kB / 381.5 MB, free: 39.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.27e-05/0.2434, allocations: 84.98 kB / 381.6 MB, free: 39.88 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.2434, allocations: 8.875 kB / 381.6 MB, free: 39.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.208e-05/0.2435, allocations: 2.156 kB / 381.6 MB, free: 39.88 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.629e-05/0.2435, allocations: 8.125 kB / 381.6 MB, free: 39.87 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-06/0.2435, allocations: 7.719 kB / 381.6 MB, free: 39.87 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.655e-05/0.2436, allocations: 100.7 kB / 381.7 MB, free: 39.78 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2436, allocations: 0 / 381.7 MB, free: 39.78 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002372/0.2438, allocations: 25.62 kB / 381.8 MB, free: 39.78 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mass.s,mass.v,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 (12): * Single equations (assignments): 12 * 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.549e-05/0.2439, allocations: 92.56 kB / 381.9 MB, free: 39.69 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001642/0.2441, allocations: 87 kB / 381.9 MB, free: 39.65 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2441, allocations: 0 / 381.9 MB, free: 39.65 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.517e-05/0.2442, allocations: 39.48 kB / 382 MB, free: 39.63 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.2445, allocations: 28.27 kB / 382 MB, free: 39.62 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007039/0.2452, allocations: 0.5835 MB / 382.6 MB, free: 39.12 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001308/0.2454, allocations: 0.7017 MB / 383.3 MB, free: 38.41 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.027e-05/0.2454, allocations: 14.25 kB / 383.3 MB, free: 38.4 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.2454, allocations: 3.938 kB / 383.3 MB, free: 38.4 MB / 298.7 MB Notification: Performance of Templates: time 0.002683/0.2481, allocations: 1.389 MB / 384.7 MB, free: 37.69 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches