Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.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.001567/0.001567, allocations: 105.4 kB / 19.8 MB, free: 2.516 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.001667/0.001667, allocations: 211.8 kB / 23 MB, free: 5.605 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.466/1.466, allocations: 230.2 MB / 256.2 MB, free: 8.523 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.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentForce.lossPower|mass.s|heatCapacitor.T",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentForce.lossPower|mass.s|heatCapacitor.T",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 64.08 kB / 376.5 MB, free: 3.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2576, allocations: 53.33 MB / 429.8 MB, free: 7.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.004924/0.2625, allocations: 2.033 MB / 431.8 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001642/0.2641, allocations: 0.6974 MB / 432.5 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.2642, allocations: 4 kB / 432.5 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001619/0.2644, allocations: 15.8 kB / 432.5 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.2645, allocations: 47.62 kB / 432.6 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003389/0.2649, allocations: 51.81 kB / 432.6 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002891/0.2652, allocations: 151.3 kB / 432.8 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.2653, allocations: 25.11 kB / 432.8 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.2654, allocations: 55.73 kB / 432.9 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.2655, allocations: 59.75 kB / 432.9 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/0.2656, allocations: 15.88 kB / 432.9 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.2657, allocations: 27.98 kB / 433 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.685e-05/0.2657, allocations: 23.92 kB / 433 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.933e-05/0.2658, allocations: 59.73 kB / 433 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003261/0.2661, allocations: 160.6 kB / 433.2 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.728e-06/0.2662, allocations: 4 kB / 433.2 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2662, allocations: 0 / 433.2 MB, free: 4.129 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.2662, allocations: 0 / 433.2 MB, free: 4.129 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.0008908/0.267, allocations: 446.7 kB / 433.6 MB, free: 3.645 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.2671, allocations: 8.031 kB / 433.6 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002441/0.2673, allocations: 36.83 kB / 433.7 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003315/0.2677, allocations: 196.2 kB / 433.9 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.2677, allocations: 8.375 kB / 433.9 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.828e-05/0.2677, allocations: 12.38 kB / 433.9 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003906/0.2681, allocations: 121.4 kB / 434 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.2681, allocations: 3.953 kB / 434 MB, free: 3.223 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/0.2682, allocations: 7.938 kB / 434 MB, free: 3.215 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.2682, allocations: 8 kB / 434 MB, free: 3.207 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003908/0.2686, allocations: 99.86 kB / 434.1 MB, free: 3.109 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.2697, allocations: 479.5 kB / 434.6 MB, free: 2.586 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000493/0.2702, allocations: 122.6 kB / 434.7 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/0.2703, allocations: 40.84 kB / 434.7 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.2704, allocations: 3.938 kB / 434.8 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.2704, allocations: 42.55 kB / 434.8 MB, free: 2.359 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.903e-06/0.2704, allocations: 0 / 434.8 MB, free: 2.359 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001471/0.2719, allocations: 489.5 kB / 435.3 MB, free: 1.832 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.2719, allocations: 51.41 kB / 435.3 MB, free: 1.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.2721, allocations: 136.9 kB / 435.5 MB, free: 1.625 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.2721, allocations: 25.7 kB / 435.5 MB, free: 1.594 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.2722, allocations: 120.2 kB / 435.6 MB, free: 1.473 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.947e-05/0.2723, allocations: 51.53 kB / 435.6 MB, free: 1.422 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.593e-05/0.2724, allocations: 33.7 kB / 435.7 MB, free: 1.383 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.2726, allocations: 322.8 kB / 436 MB, free: 1.059 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001884/0.2727, allocations: 43.97 kB / 436 MB, free: 1.016 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002269/0.273, allocations: 78.12 kB / 436.1 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004128/0.2734, allocations: 123.3 kB / 436.2 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.2734, allocations: 0 / 436.2 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005401/0.2739, allocations: 173.5 kB / 436.4 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.2739, allocations: 7.938 kB / 436.4 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.274, allocations: 0 / 436.4 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.274, allocations: 7.938 kB / 436.4 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000272/0.2742, allocations: 39.97 kB / 436.5 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.2743, allocations: 4 kB / 436.5 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.2744, allocations: 7.984 kB / 436.5 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.2744, allocations: 8 kB / 436.5 MB, free: 0.5469 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 (18): * Single equations (assignments): 18 * 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 0.0001355/0.2746, allocations: 125.8 kB / 436.6 MB, free: 424 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.113e-05/0.2746, allocations: 19.84 kB / 436.6 MB, free: 404 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.262e-05/0.2747, allocations: 12.84 kB / 436.6 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.2747, allocations: 4 kB / 436.6 MB, free: 384 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2747, allocations: 0 / 436.6 MB, free: 384 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.2747, allocations: 3.984 kB / 436.6 MB, free: 380 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.2758, allocations: 468 kB / 437.1 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.2758, allocations: 0 / 437.1 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003026/0.2761, allocations: 43.91 kB / 437.1 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.2761, allocations: 4 kB / 437.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.2761, allocations: 4 kB / 437.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.2761, allocations: 0 / 437.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.2761, allocations: 4 kB / 437.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006711/0.2768, allocations: 308.7 kB / 437.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.326e-05/0.2768, allocations: 89.09 kB / 437.5 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.408e-05/0.2769, allocations: 4 kB / 437.5 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.2771, allocations: 4 kB / 437.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.606e-05/0.2771, allocations: 15.98 kB / 437.6 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.2771, allocations: 4 kB / 437.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001069/0.2772, allocations: 107.2 kB / 437.7 MB, free: 15.24 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2772, allocations: 3.938 kB / 437.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004574/0.2777, allocations: 28 kB / 437.7 MB, free: 15.21 MB / 350.1 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 (13): * Single equations (assignments): 13 * 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.0001479/0.2778, allocations: 99.19 kB / 437.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004977/0.2783, allocations: 119.9 kB / 437.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2783, allocations: 0 / 437.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002098/0.2786, allocations: 55.91 kB / 438 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004708/0.279, allocations: 21.08 kB / 438 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.2802, allocations: 0.4896 MB / 438.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003944/0.2806, allocations: 0.7041 MB / 439.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.204e-05/0.2807, allocations: 20.42 kB / 439.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.583e-05/0.2807, allocations: 11.44 kB / 439.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of SimCode: time 8.12e-07/0.2807, allocations: 3.938 kB / 439.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of Templates: time 0.005369/0.2861, allocations: 1.437 MB / 440.7 MB, free: 12.2 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.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.268268495798111]