Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008174/0.0008174, allocations: 85.91 kB / 22.22 MB, free: 2.281 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009242/0.0009242, allocations: 163 kB / 25.61 MB, free: 8.871 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9091/0.9091, allocations: 177 MB / 205.9 MB, free: 4.43 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentTorque.lossPower|inertia.phi|heatCapacitor.T",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentTorque.lossPower|inertia.phi|heatCapacitor.T",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 274.1 MB, free: 4.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.294e-05/2.423e-05, allocations: 11.09 kB / 274.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003144/0.003168, allocations: 2.022 MB / 276.1 MB, free: 2.262 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.004191, allocations: 0.6797 MB / 276.8 MB, free: 1.586 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.798e-05/0.004279, allocations: 0 / 276.8 MB, free: 1.586 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001148/0.004394, allocations: 19.8 kB / 276.8 MB, free: 1.566 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.846e-05/0.004482, allocations: 44.17 kB / 276.9 MB, free: 1.523 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000228/0.00471, allocations: 63.78 kB / 276.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.004894, allocations: 147.2 kB / 277.1 MB, free: 1.316 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.005008, allocations: 25.28 kB / 277.1 MB, free: 1.289 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.005131, allocations: 87.73 kB / 277.2 MB, free: 1.203 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.773e-05/0.005219, allocations: 35.89 kB / 277.2 MB, free: 1.168 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.82e-05/0.005247, allocations: 12 kB / 277.2 MB, free: 1.156 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.393e-05/0.005321, allocations: 27.98 kB / 277.3 MB, free: 1.129 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.786e-05/0.005349, allocations: 23.91 kB / 277.3 MB, free: 1.105 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.92e-05/0.005398, allocations: 43.91 kB / 277.3 MB, free: 1.062 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002734/0.005672, allocations: 115.6 kB / 277.4 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.005675, allocations: 4 kB / 277.4 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.005676, allocations: 0 / 277.4 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.00568, allocations: 0 / 277.4 MB, free: 0.9453 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005011/0.006181, allocations: 464 kB / 277.9 MB, free: 468 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.006211, allocations: 8.031 kB / 277.9 MB, free: 460 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001832/0.006394, allocations: 32.88 kB / 277.9 MB, free: 428 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.006568, allocations: 154.8 kB / 278.1 MB, free: 248 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.006581, allocations: 12.38 kB / 278.1 MB, free: 236 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.006607, allocations: 12.38 kB / 278.1 MB, free: 224 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.006773, allocations: 94.89 kB / 278.2 MB, free: 120 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.006784, allocations: 4.125 kB / 278.2 MB, free: 116 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.006796, allocations: 7.938 kB / 278.2 MB, free: 108 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.006803, allocations: 4 kB / 278.2 MB, free: 104 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.331e-05/0.006886, allocations: 33.66 kB / 278.2 MB, free: 72 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006322/0.007519, allocations: 443.1 kB / 278.7 MB, free: 15.6 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001918/0.00771, allocations: 83.02 kB / 278.8 MB, free: 15.51 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.225e-05/0.007743, allocations: 15.69 kB / 278.8 MB, free: 15.49 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.007754, allocations: 4 kB / 278.8 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.007774, allocations: 33.39 kB / 278.8 MB, free: 15.44 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.007775, allocations: 0 / 278.8 MB, free: 15.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001882/0.007963, allocations: 89.7 kB / 278.9 MB, free: 15.35 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.007994, allocations: 59.34 kB / 279 MB, free: 15.28 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.683e-05/0.008091, allocations: 185.9 kB / 279.1 MB, free: 15.08 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.008104, allocations: 37.64 kB / 279.2 MB, free: 15.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.96e-05/0.008174, allocations: 158.9 kB / 279.3 MB, free: 14.87 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.772e-05/0.008201, allocations: 35.72 kB / 279.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.075e-05/0.008252, allocations: 39.31 kB / 279.4 MB, free: 14.79 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.008382, allocations: 0.4923 MB / 279.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.093e-05/0.008413, allocations: 11.98 kB / 279.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.946e-05/0.008472, allocations: 58.66 kB / 280 MB, free: 14.2 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.928e-05/0.008562, allocations: 66.5 kB / 280 MB, free: 14.12 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.008564, allocations: 4 kB / 280 MB, free: 14.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001475/0.008711, allocations: 93.58 kB / 280.1 MB, free: 14.02 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.008726, allocations: 8 kB / 280.1 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.008731, allocations: 3.938 kB / 280.1 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.696e-06/0.00874, allocations: 0 / 280.1 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.008862, allocations: 31.92 kB / 280.2 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.008867, allocations: 7.938 kB / 280.2 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.591e-05/0.008933, allocations: 19.88 kB / 280.2 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.874e-06/0.008941, allocations: 4 kB / 280.2 MB, free: 13.95 MB / 266.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 (14): * Single equations (assignments): 14 * 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.836e-05/0.009019, allocations: 160.7 kB / 280.4 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.484e-05/0.009054, allocations: 11.95 kB / 280.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.246e-05/0.009086, allocations: 12.78 kB / 280.4 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.009089, allocations: 4 kB / 280.4 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.009091, allocations: 3.938 kB / 280.4 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.009094, allocations: 0 / 280.4 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.009261, allocations: 125.2 kB / 280.5 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.009262, allocations: 0 / 280.5 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.009386, allocations: 27.92 kB / 280.5 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.009391, allocations: 4 kB / 280.5 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.009402, allocations: 8 kB / 280.5 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.009404, allocations: 0 / 280.5 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.009405, allocations: 0 / 280.5 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002147/0.009619, allocations: 247.7 kB / 280.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.48e-05/0.009634, allocations: 11.89 kB / 280.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.00965, allocations: 3.984 kB / 280.8 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.489e-05/0.009725, allocations: 8 kB / 280.8 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.922e-05/0.009755, allocations: 3.984 kB / 280.8 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.009761, allocations: 4 kB / 280.8 MB, free: 13.27 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.155e-05/0.009812, allocations: 138 kB / 281 MB, free: 13.13 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.009813, allocations: 0 / 281 MB, free: 13.13 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002814/0.01009, allocations: 35.94 kB / 281 MB, free: 13.1 MB / 266.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 (9): * Single equations (assignments): 9 * 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.709e-05/0.01019, allocations: 98.62 kB / 281.1 MB, free: 13 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001207/0.01031, allocations: 55.53 kB / 281.1 MB, free: 12.94 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.01031, allocations: 4 kB / 281.1 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.185e-05/0.01036, allocations: 27.61 kB / 281.2 MB, free: 12.9 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.01069, allocations: 23.98 kB / 281.2 MB, free: 12.88 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008353/0.01152, allocations: 394.8 kB / 281.6 MB, free: 12.47 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.641e-05/0.01157, allocations: 67.2 kB / 281.6 MB, free: 12.38 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.366e-05/0.01162, allocations: 8.484 kB / 281.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.44e-05/0.01172, allocations: 90.19 kB / 281.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01172, allocations: 0 / 281.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of Templates: time 0.00377/0.01549, allocations: 1.361 MB / 283.1 MB, free: 10.96 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/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.6225096210837364]