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.001794/0.001794, allocations: 107 kB / 19.8 MB, free: 2.5 MB / 14.72 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.002263/0.002263, allocations: 217.8 kB / 23 MB, free: 5.578 MB / 14.72 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 1.431/1.431, allocations: 230.2 MB / 256.2 MB, free: 8.52 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001819/0.001819, allocations: 63.88 kB / 376.5 MB, free: 3.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2584, allocations: 53.33 MB / 429.8 MB, free: 7.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.004002/0.2624, allocations: 2.01 MB / 431.8 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.2637, allocations: 0.7052 MB / 432.5 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.2638, allocations: 0 / 432.5 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001476/0.264, allocations: 19.8 kB / 432.5 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.974e-05/0.2641, allocations: 47.62 kB / 432.6 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002946/0.2644, allocations: 47.81 kB / 432.6 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002179/0.2646, allocations: 151.3 kB / 432.8 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.2647, allocations: 17.12 kB / 432.8 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.282e-05/0.2648, allocations: 59.72 kB / 432.8 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.2649, allocations: 63.75 kB / 432.9 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.2649, allocations: 8 kB / 432.9 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.265, allocations: 27.94 kB / 432.9 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.95e-05/0.2651, allocations: 23.92 kB / 433 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.53e-05/0.2651, allocations: 59.67 kB / 433 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002754/0.2654, allocations: 156.6 kB / 433.2 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2654, allocations: 0 / 433.2 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2654, allocations: 0 / 433.2 MB, free: 4.152 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.2654, allocations: 0 / 433.2 MB, free: 4.152 MB / 334.1 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.0007519/0.2662, allocations: 438.8 kB / 433.6 MB, free: 3.676 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.2662, allocations: 12.03 kB / 433.6 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000196/0.2664, allocations: 24.88 kB / 433.6 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.2667, allocations: 208.1 kB / 433.8 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.2667, allocations: 8.375 kB / 433.8 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.262e-05/0.2668, allocations: 12.38 kB / 433.9 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/0.267, allocations: 121.4 kB / 434 MB, free: 3.254 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.2671, allocations: 0 / 434 MB, free: 3.254 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.2671, allocations: 8 kB / 434 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.2671, allocations: 4 kB / 434 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002641/0.2673, allocations: 87.92 kB / 434.1 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008835/0.2682, allocations: 0.5205 MB / 434.6 MB, free: 2.574 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003167/0.2685, allocations: 98.61 kB / 434.7 MB, free: 2.469 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.2687, allocations: 36.83 kB / 434.7 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.2687, allocations: 11.94 kB / 434.7 MB, free: 2.418 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.2687, allocations: 30.75 kB / 434.8 MB, free: 2.379 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.2687, allocations: 7.938 kB / 434.8 MB, free: 2.371 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004468/0.2691, allocations: 141.5 kB / 434.9 MB, free: 2.227 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.2692, allocations: 59.34 kB / 435 MB, free: 2.156 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.2693, allocations: 129.8 kB / 435.1 MB, free: 2.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.2693, allocations: 25.7 kB / 435.1 MB, free: 1.988 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.515e-05/0.2694, allocations: 116.6 kB / 435.2 MB, free: 1.867 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.682e-05/0.2694, allocations: 39.67 kB / 435.3 MB, free: 1.828 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.302e-05/0.2695, allocations: 29.72 kB / 435.3 MB, free: 1.793 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.2696, allocations: 318.8 kB / 435.6 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.2697, allocations: 43.91 kB / 435.7 MB, free: 1.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.2699, allocations: 63.41 kB / 435.7 MB, free: 1.355 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002505/0.2701, allocations: 115.3 kB / 435.8 MB, free: 1.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2701, allocations: 0 / 435.8 MB, free: 1.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003238/0.2704, allocations: 145.4 kB / 436 MB, free: 1.082 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.2705, allocations: 8.094 kB / 436 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.2705, allocations: 4 kB / 436 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.2705, allocations: 3.984 kB / 436 MB, free: 1.066 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.2706, allocations: 35.92 kB / 436 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.2706, allocations: 4 kB / 436 MB, free: 1.027 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.139e-05/0.2707, allocations: 11.92 kB / 436 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.2708, allocations: 4 kB / 436 MB, free: 1.012 MB / 334.1 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 9.845e-05/0.2708, allocations: 121.8 kB / 436.2 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.417e-05/0.2709, allocations: 19.84 kB / 436.2 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.513e-05/0.2709, allocations: 16.72 kB / 436.2 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.2709, allocations: 3.984 kB / 436.2 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.2709, allocations: 3.938 kB / 436.2 MB, free: 0.832 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.2709, allocations: 4 kB / 436.2 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002338/0.2712, allocations: 205.6 kB / 436.4 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2712, allocations: 0 / 436.4 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/0.2713, allocations: 27.97 kB / 436.4 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.2714, allocations: 4 kB / 436.4 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.2714, allocations: 4 kB / 436.4 MB, free: 0.543 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2714, allocations: 4 kB / 436.4 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2714, allocations: 0 / 436.4 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004495/0.2718, allocations: 259.3 kB / 436.7 MB, free: 276 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.534e-05/0.2719, allocations: 92.98 kB / 436.8 MB, free: 164 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.2719, allocations: 4 kB / 436.8 MB, free: 160 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.272, allocations: 12 kB / 436.8 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.2721, allocations: 7.984 kB / 436.8 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.2721, allocations: 4 kB / 436.8 MB, free: 136 kB / 334.1 MB Notification: Performance of sorting global known variables: time 6.638e-05/0.2721, allocations: 97.77 kB / 436.9 MB, free: 40 kB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2721, allocations: 0 / 436.9 MB, free: 40 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002515/0.2724, allocations: 28 kB / 436.9 MB, free: 12 kB / 334.1 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 0.0001313/0.2725, allocations: 107.3 kB / 437 MB, free: 15.9 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002994/0.2728, allocations: 91.83 kB / 437.1 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2728, allocations: 0 / 437.1 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.2729, allocations: 43.91 kB / 437.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.2732, allocations: 23.92 kB / 437.2 MB, free: 15.74 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008033/0.274, allocations: 463.2 kB / 437.7 MB, free: 15.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.2744, allocations: 0.7119 MB / 438.4 MB, free: 14.53 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.821e-05/0.2744, allocations: 12.55 kB / 438.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.6e-05/0.2745, allocations: 11.44 kB / 438.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.2745, allocations: 0 / 438.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of Templates: time 0.004117/0.2786, allocations: 1.238 MB / 439.6 MB, free: 13.29 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.267101429402828]