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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009281/0.0009281, allocations: 72.08 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008814/0.0008814, allocations: 143.2 kB / 24.97 MB, free: 8.781 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9098/0.9098, allocations: 173.3 MB / 201.5 MB, free: 9.328 MB / 186.7 MB " [Timeout remaining time 179] 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.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 268 MB, free: 6.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.723e-05/1.867e-05, allocations: 2.312 kB / 268.1 MB, free: 6.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002025/0.002044, allocations: 1.826 MB / 269.9 MB, free: 4.898 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007683/0.002812, allocations: 0.6349 MB / 270.5 MB, free: 4.258 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.362e-05/0.002896, allocations: 0 / 270.5 MB, free: 4.258 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.003023, allocations: 15.86 kB / 270.5 MB, free: 4.242 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.135e-05/0.003084, allocations: 31.7 kB / 270.6 MB, free: 4.211 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002335/0.003318, allocations: 55.73 kB / 270.6 MB, free: 4.156 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.003483, allocations: 127.3 kB / 270.7 MB, free: 4.031 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.003614, allocations: 21.56 kB / 270.8 MB, free: 4.004 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.71e-05/0.003691, allocations: 71.83 kB / 270.8 MB, free: 3.934 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.114e-05/0.003782, allocations: 39.89 kB / 270.9 MB, free: 3.895 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.003802, allocations: 8 kB / 270.9 MB, free: 3.887 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.318e-05/0.003865, allocations: 23.98 kB / 270.9 MB, free: 3.863 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.338e-05/0.003889, allocations: 23.91 kB / 270.9 MB, free: 3.84 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.879e-05/0.003928, allocations: 35.92 kB / 271 MB, free: 3.805 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.004105, allocations: 95.66 kB / 271 MB, free: 3.711 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.004109, allocations: 3.984 kB / 271.1 MB, free: 3.707 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.004109, allocations: 0 / 271.1 MB, free: 3.707 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.004114, allocations: 0 / 271.1 MB, free: 3.707 MB / 250.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.0004331/0.004547, allocations: 436.4 kB / 271.5 MB, free: 3.246 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.004583, allocations: 8.031 kB / 271.5 MB, free: 3.238 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001654/0.004749, allocations: 36.83 kB / 271.5 MB, free: 3.203 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004553/0.005204, allocations: 140.4 kB / 271.7 MB, free: 3.039 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.005216, allocations: 12.5 kB / 271.7 MB, free: 3.027 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.621e-05/0.005243, allocations: 12.38 kB / 271.7 MB, free: 3.016 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.005372, allocations: 81.72 kB / 271.8 MB, free: 2.934 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.005383, allocations: 4 kB / 271.8 MB, free: 2.93 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.005393, allocations: 0 / 271.8 MB, free: 2.93 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.005402, allocations: 4 kB / 271.8 MB, free: 2.926 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.894e-05/0.005491, allocations: 43.91 kB / 271.8 MB, free: 2.883 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004543/0.005945, allocations: 410.8 kB / 272.2 MB, free: 2.441 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.006154, allocations: 98.94 kB / 272.3 MB, free: 2.332 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.288e-05/0.006197, allocations: 23.69 kB / 272.3 MB, free: 2.305 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/0.006208, allocations: 0 / 272.3 MB, free: 2.305 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.006232, allocations: 45.38 kB / 272.4 MB, free: 2.25 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.006233, allocations: 0 / 272.4 MB, free: 2.25 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008265/0.00706, allocations: 362.3 kB / 272.7 MB, free: 1.859 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.007096, allocations: 55.34 kB / 272.8 MB, free: 1.793 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.007218, allocations: 185.5 kB / 273 MB, free: 1.598 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.007231, allocations: 25.7 kB / 273 MB, free: 1.566 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.718e-05/0.007308, allocations: 158.7 kB / 273.1 MB, free: 1.406 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/0.007343, allocations: 39.59 kB / 273.2 MB, free: 1.367 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/0.007388, allocations: 43.36 kB / 273.2 MB, free: 1.316 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.007519, allocations: 0.4922 MB / 273.7 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.727e-05/0.007546, allocations: 15.98 kB / 273.7 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.39e-05/0.0076, allocations: 57.7 kB / 273.8 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.854e-05/0.007688, allocations: 98.66 kB / 273.9 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.00769, allocations: 0 / 273.9 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001245/0.007814, allocations: 113.6 kB / 274 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.007826, allocations: 4 kB / 274 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.007831, allocations: 3.938 kB / 274 MB, free: 500 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.007844, allocations: 4 kB / 274 MB, free: 496 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.023e-05/0.007925, allocations: 27.98 kB / 274 MB, free: 468 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.007931, allocations: 4 kB / 274 MB, free: 464 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.035e-05/0.007962, allocations: 4 kB / 274 MB, free: 460 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.007968, allocations: 8.062 kB / 274.1 MB, free: 452 kB / 250.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 7.401e-05/0.008042, allocations: 168.5 kB / 274.2 MB, free: 272 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.212e-05/0.008064, allocations: 19.91 kB / 274.2 MB, free: 252 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.223e-05/0.008096, allocations: 20.36 kB / 274.3 MB, free: 232 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.008098, allocations: 0 / 274.3 MB, free: 232 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.008103, allocations: 4 kB / 274.3 MB, free: 228 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.008108, allocations: 4 kB / 274.3 MB, free: 224 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003365/0.008444, allocations: 400.6 kB / 274.7 MB, free: 15.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.008446, allocations: 4.031 kB / 274.7 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.486e-05/0.008531, allocations: 27.98 kB / 274.7 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.008533, allocations: 0 / 274.7 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.008544, allocations: 8 kB / 274.7 MB, free: 15.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.008545, allocations: 0 / 274.7 MB, free: 15.74 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.008547, allocations: 0 / 274.7 MB, free: 15.74 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002106/0.008757, allocations: 283.1 kB / 275 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.161e-05/0.008769, allocations: 11.94 kB / 275 MB, free: 15.42 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.008784, allocations: 7.938 kB / 275 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.015e-05/0.008824, allocations: 0 / 275 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.712e-05/0.008851, allocations: 19.92 kB / 275 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.008857, allocations: 4 kB / 275 MB, free: 15.39 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.305e-05/0.00891, allocations: 135.2 kB / 275.1 MB, free: 15.26 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00891, allocations: 0 / 275.1 MB, free: 15.26 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001656/0.009076, allocations: 24 kB / 275.2 MB, free: 15.23 MB / 266.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 9.666e-05/0.009172, allocations: 103.2 kB / 275.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001441/0.009316, allocations: 67.69 kB / 275.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.009319, allocations: 0 / 275.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.317e-05/0.009362, allocations: 43.73 kB / 275.4 MB, free: 15.01 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.009612, allocations: 20.06 kB / 275.4 MB, free: 14.99 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006929/0.0103, allocations: 379.1 kB / 275.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.345e-05/0.01035, allocations: 71.33 kB / 275.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.818e-05/0.01039, allocations: 8.984 kB / 275.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.932e-05/0.01042, allocations: 12.5 kB / 275.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01042, allocations: 4 kB / 275.9 MB, free: 14.46 MB / 266.7 MB Notification: Performance of Templates: time 0.00278/0.0132, allocations: 1.147 MB / 277 MB, free: 13.34 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4850144151132554]