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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=2000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001469/0.001469, allocations: 112.6 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001875/0.001875, allocations: 203.9 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.579/1.579, allocations: 227.4 MB / 247.6 MB, free: 10.58 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 59.89 kB / 359.4 MB, free: 13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2561, allocations: 50.55 MB / 409.9 MB, free: 1.66 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003111/0.2593, allocations: 2.006 MB / 411.9 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.2604, allocations: 0.6897 MB / 412.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.2605, allocations: 0 / 412.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001387/0.2607, allocations: 27.78 kB / 412.6 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.793e-05/0.2608, allocations: 39.58 kB / 412.7 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002622/0.2611, allocations: 51.86 kB / 412.7 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.2613, allocations: 143.3 kB / 412.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.2614, allocations: 41.08 kB / 412.9 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.314e-05/0.2615, allocations: 59.72 kB / 413 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.7e-05/0.2616, allocations: 55.77 kB / 413 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.2617, allocations: 8 kB / 413 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.389e-05/0.2618, allocations: 24 kB / 413 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.845e-05/0.2618, allocations: 31.84 kB / 413.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.725e-05/0.2619, allocations: 63.72 kB / 413.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.2621, allocations: 147.4 kB / 413.3 MB, free: 14.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.2621, allocations: 0 / 413.3 MB, free: 14.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2621, allocations: 0 / 413.3 MB, free: 14.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.2621, allocations: 7.984 kB / 413.3 MB, free: 14.27 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.0006736/0.2628, allocations: 440.2 kB / 413.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.2629, allocations: 8.031 kB / 413.7 MB, free: 13.78 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001924/0.2631, allocations: 36.72 kB / 413.8 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.2633, allocations: 204.1 kB / 414 MB, free: 13.51 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.2634, allocations: 8.375 kB / 414 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.606e-05/0.2634, allocations: 12.38 kB / 414 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002915/0.2637, allocations: 121.4 kB / 414.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.2637, allocations: 7.844 kB / 414.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.2638, allocations: 8 kB / 414.1 MB, free: 13.35 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.2638, allocations: 0 / 414.1 MB, free: 13.35 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002776/0.264, allocations: 103.8 kB / 414.2 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007923/0.2649, allocations: 491.3 kB / 414.7 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003484/0.2652, allocations: 114.6 kB / 414.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.2654, allocations: 56.81 kB / 414.9 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.2654, allocations: 3.984 kB / 414.9 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.2654, allocations: 30.56 kB / 414.9 MB, free: 12.49 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.183e-06/0.2654, allocations: 0 / 414.9 MB, free: 12.49 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001046/0.2665, allocations: 485.9 kB / 415.4 MB, free: 11.96 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.2665, allocations: 55.41 kB / 415.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.2666, allocations: 132.4 kB / 415.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.2667, allocations: 29.7 kB / 415.6 MB, free: 11.72 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.785e-05/0.2667, allocations: 112.2 kB / 415.7 MB, free: 11.61 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.409e-05/0.2668, allocations: 47.36 kB / 415.7 MB, free: 11.56 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.228e-05/0.2668, allocations: 25.72 kB / 415.8 MB, free: 11.53 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.2669, allocations: 330.8 kB / 416.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.2671, allocations: 39.97 kB / 416.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.2672, allocations: 78.2 kB / 416.2 MB, free: 11.07 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002694/0.2675, allocations: 123 kB / 416.3 MB, free: 10.94 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.2675, allocations: 0 / 416.3 MB, free: 10.94 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003359/0.2679, allocations: 173.3 kB / 416.5 MB, free: 10.77 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.2679, allocations: 11.94 kB / 416.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.2679, allocations: 0 / 416.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.2679, allocations: 0 / 416.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.2681, allocations: 44.05 kB / 416.6 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.2681, allocations: 0 / 416.6 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.581e-05/0.2682, allocations: 11.98 kB / 416.6 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.2682, allocations: 4 kB / 416.6 MB, free: 10.7 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 9.266e-05/0.2683, allocations: 129.7 kB / 416.7 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.658e-05/0.2684, allocations: 15.84 kB / 416.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.009e-05/0.2684, allocations: 24.83 kB / 416.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.2684, allocations: 0 / 416.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.2685, allocations: 4 kB / 416.7 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.2685, allocations: 4 kB / 416.7 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006933/0.2692, allocations: 471.9 kB / 417.2 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2692, allocations: 0 / 417.2 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002653/0.2695, allocations: 39.98 kB / 417.2 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.2695, allocations: 0 / 417.2 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.2695, allocations: 15.92 kB / 417.3 MB, free: 9.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.2695, allocations: 0 / 417.3 MB, free: 9.93 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.2695, allocations: 0 / 417.3 MB, free: 9.93 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006538/0.2702, allocations: 305 kB / 417.6 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.977e-05/0.2702, allocations: 85.02 kB / 417.6 MB, free: 9.508 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.2703, allocations: 4 kB / 417.6 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.2704, allocations: 12.03 kB / 417.7 MB, free: 9.492 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/0.2704, allocations: 11.98 kB / 417.7 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.2705, allocations: 4 kB / 417.7 MB, free: 9.477 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.945e-05/0.2705, allocations: 101.5 kB / 417.8 MB, free: 9.379 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2705, allocations: 0 / 417.8 MB, free: 9.379 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.2708, allocations: 32 kB / 417.8 MB, free: 9.348 MB / 334.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.0001327/0.271, allocations: 103.1 kB / 417.9 MB, free: 9.238 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003246/0.2713, allocations: 115.8 kB / 418 MB, free: 9.125 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2713, allocations: 0 / 418 MB, free: 9.125 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.2715, allocations: 61.03 kB / 418.1 MB, free: 9.066 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.2718, allocations: 24.22 kB / 418.1 MB, free: 9.043 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008713/0.2727, allocations: 0.5034 MB / 418.6 MB, free: 8.5 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.273, allocations: 0.7119 MB / 419.3 MB, free: 7.762 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.267e-05/0.273, allocations: 15.44 kB / 419.3 MB, free: 7.75 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.273, allocations: 0 / 419.3 MB, free: 7.75 MB / 334.1 MB Notification: Performance of Templates: time 0.003336/0.2764, allocations: 1.706 MB / 421 MB, free: 6.059 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,mass.s,heatCapacitor.T,eddyCurrentForce.lossPower Variables in the result:eddyCurrentForce.lossPower,heatCapacitor.T,mass.s,time