Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000947/0.0009469, allocations: 101.5 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008096/0.0008096, allocations: 39.94 kB / 350 MB, free: 64 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2444, allocations: 49.43 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002525/0.247, allocations: 1.843 MB / 401.3 MB, free: 31.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008163/0.2478, allocations: 0.635 MB / 401.9 MB, free: 30.88 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.663e-05/0.2479, allocations: 0 / 401.9 MB, free: 30.88 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001175/0.248, allocations: 23.84 kB / 402 MB, free: 30.85 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.03e-05/0.2481, allocations: 27.77 kB / 402 MB, free: 30.82 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002136/0.2484, allocations: 39.89 kB / 402 MB, free: 30.79 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.2485, allocations: 119.4 kB / 402.1 MB, free: 30.67 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.934e-05/0.2486, allocations: 29.38 kB / 402.2 MB, free: 30.63 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.274e-05/0.2487, allocations: 43.8 kB / 402.2 MB, free: 30.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.01e-05/0.2487, allocations: 39.84 kB / 402.3 MB, free: 30.55 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.2488, allocations: 8 kB / 402.3 MB, free: 30.54 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.473e-05/0.2488, allocations: 23.98 kB / 402.3 MB, free: 30.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.706e-05/0.2489, allocations: 11.92 kB / 402.3 MB, free: 30.51 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.583e-05/0.2489, allocations: 55.73 kB / 402.4 MB, free: 30.45 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.2491, allocations: 121.1 kB / 402.5 MB, free: 30.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2491, allocations: 0 / 402.5 MB, free: 30.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.2491, allocations: 0 / 402.5 MB, free: 30.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.2491, allocations: 0 / 402.5 MB, free: 30.34 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.0004398/0.2495, allocations: 419.2 kB / 402.9 MB, free: 29.88 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.2496, allocations: 8.031 kB / 402.9 MB, free: 29.87 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001715/0.2498, allocations: 28.83 kB / 402.9 MB, free: 29.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.2499, allocations: 188.2 kB / 403.1 MB, free: 29.62 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.2499, allocations: 8.562 kB / 403.1 MB, free: 29.61 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.25, allocations: 12.38 kB / 403.1 MB, free: 29.6 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.2501, allocations: 97.53 kB / 403.2 MB, free: 29.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.2501, allocations: 3.906 kB / 403.2 MB, free: 29.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.2501, allocations: 4 kB / 403.2 MB, free: 29.49 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.2502, allocations: 4 kB / 403.2 MB, free: 29.49 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.2503, allocations: 59.97 kB / 403.3 MB, free: 29.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005073/0.2508, allocations: 455.5 kB / 403.7 MB, free: 28.93 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.251, allocations: 106.6 kB / 403.8 MB, free: 28.81 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.368e-05/0.2511, allocations: 32.84 kB / 403.9 MB, free: 28.78 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.2511, allocations: 4 kB / 403.9 MB, free: 28.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.196e-05/0.2511, allocations: 38.5 kB / 403.9 MB, free: 28.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.173e-06/0.2511, allocations: 0 / 403.9 MB, free: 28.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.001107/0.2522, allocations: 0.5188 MB / 404.4 MB, free: 28.14 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.806e-05/0.2522, allocations: 55.41 kB / 404.5 MB, free: 28.07 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.143e-05/0.2523, allocations: 126 kB / 404.6 MB, free: 27.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.126e-06/0.2523, allocations: 25.7 kB / 404.6 MB, free: 27.9 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.64e-05/0.2524, allocations: 115.7 kB / 404.7 MB, free: 27.79 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.341e-05/0.2524, allocations: 47.3 kB / 404.8 MB, free: 27.74 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.833e-05/0.2524, allocations: 25.72 kB / 404.8 MB, free: 27.71 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.376e-05/0.2525, allocations: 322.8 kB / 405.1 MB, free: 27.38 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.662e-05/0.2525, allocations: 31.98 kB / 405.2 MB, free: 27.35 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.917e-05/0.2526, allocations: 56.52 kB / 405.2 MB, free: 27.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.2527, allocations: 96.23 kB / 405.3 MB, free: 27.18 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.2527, allocations: 0 / 405.3 MB, free: 27.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001537/0.2529, allocations: 141.2 kB / 405.5 MB, free: 27.04 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.2529, allocations: 8 kB / 405.5 MB, free: 27.03 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.2529, allocations: 0 / 405.5 MB, free: 27.03 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.2529, allocations: 4 kB / 405.5 MB, free: 27.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.253, allocations: 27.98 kB / 405.5 MB, free: 27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.2531, allocations: 0 / 405.5 MB, free: 27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.361e-05/0.2531, allocations: 16 kB / 405.5 MB, free: 26.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.2531, allocations: 4 kB / 405.5 MB, free: 26.98 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.881e-05/0.2532, allocations: 125.7 kB / 405.6 MB, free: 26.84 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.84e-05/0.2532, allocations: 7.906 kB / 405.6 MB, free: 26.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.954e-05/0.2533, allocations: 16.38 kB / 405.7 MB, free: 26.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.2533, allocations: 3.984 kB / 405.7 MB, free: 26.81 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2533, allocations: 0 / 405.7 MB, free: 26.81 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.2533, allocations: 3.938 kB / 405.7 MB, free: 26.81 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003909/0.2537, allocations: 428.1 kB / 406.1 MB, free: 26.33 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2537, allocations: 4 kB / 406.1 MB, free: 26.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.2539, allocations: 23.98 kB / 406.1 MB, free: 26.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.2539, allocations: 7.938 kB / 406.1 MB, free: 26.29 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.2539, allocations: 7.984 kB / 406.1 MB, free: 26.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.2539, allocations: 0 / 406.1 MB, free: 26.29 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.2539, allocations: 7.984 kB / 406.1 MB, free: 26.28 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/0.2555, allocations: 1.424 MB / 407.6 MB, free: 24.71 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.259e-05/0.2555, allocations: 89.05 kB / 407.6 MB, free: 24.61 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.2556, allocations: 4 kB / 407.6 MB, free: 24.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.292e-05/0.2556, allocations: 8 kB / 407.7 MB, free: 24.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.935e-05/0.2557, allocations: 4 kB / 407.7 MB, free: 24.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-06/0.2557, allocations: 11.98 kB / 407.7 MB, free: 24.58 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.241e-05/0.2557, allocations: 88.62 kB / 407.8 MB, free: 24.49 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.42e-07/0.2557, allocations: 3.938 kB / 407.8 MB, free: 24.49 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003249/0.2561, allocations: 43.92 kB / 407.8 MB, free: 24.45 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.172e-05/0.2561, allocations: 103.2 kB / 407.9 MB, free: 24.34 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001333/0.2563, allocations: 79.86 kB / 408 MB, free: 24.26 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2563, allocations: 4 kB / 408 MB, free: 24.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.597e-05/0.2563, allocations: 43.92 kB / 408 MB, free: 24.21 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.2567, allocations: 15.98 kB / 408 MB, free: 24.2 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006996/0.2574, allocations: 0.6338 MB / 408.7 MB, free: 23.52 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/0.2576, allocations: 0.7048 MB / 409.4 MB, free: 22.79 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.938e-05/0.2576, allocations: 12.88 kB / 409.4 MB, free: 22.78 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.397e-05/0.2577, allocations: 15.44 kB / 409.4 MB, free: 22.76 MB / 298.7 MB Notification: Performance of SimCode: time 9.01e-07/0.2577, allocations: 4 kB / 409.4 MB, free: 22.76 MB / 298.7 MB Notification: Performance of Templates: time 0.00333/0.261, allocations: 1.479 MB / 410.9 MB, free: 21.3 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches