Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 210.2 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.521/1.521, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 51.92 kB / 378.2 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2616, allocations: 53.36 MB / 431.6 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003498/0.2651, allocations: 1.952 MB / 433.5 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.2663, allocations: 0.6429 MB / 434.2 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.423e-05/0.2664, allocations: 7.938 kB / 434.2 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001249/0.2665, allocations: 19.78 kB / 434.2 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.437e-05/0.2666, allocations: 43.64 kB / 434.2 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.2669, allocations: 55.8 kB / 434.3 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.2671, allocations: 143.3 kB / 434.4 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.2672, allocations: 29.3 kB / 434.5 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.627e-05/0.2673, allocations: 51.84 kB / 434.5 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.2674, allocations: 59.7 kB / 434.6 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/0.2674, allocations: 8 kB / 434.6 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.27e-05/0.2675, allocations: 31.92 kB / 434.6 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.553e-05/0.2676, allocations: 27.92 kB / 434.6 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.127e-05/0.2676, allocations: 51.73 kB / 434.7 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002613/0.2679, allocations: 153.7 kB / 434.8 MB, free: 3.449 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.2679, allocations: 4 kB / 434.8 MB, free: 3.445 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2679, allocations: 0 / 434.8 MB, free: 3.445 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.2679, allocations: 0 / 434.8 MB, free: 3.445 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.0006437/0.2685, allocations: 371.7 kB / 435.2 MB, free: 3.055 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.2686, allocations: 12.03 kB / 435.2 MB, free: 3.043 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001779/0.2688, allocations: 32.83 kB / 435.2 MB, free: 3.012 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/0.269, allocations: 142.3 kB / 435.4 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.269, allocations: 8.375 kB / 435.4 MB, free: 2.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.719e-05/0.2691, allocations: 12.38 kB / 435.4 MB, free: 2.828 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002862/0.2693, allocations: 117.5 kB / 435.5 MB, free: 2.707 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.2694, allocations: 3.953 kB / 435.5 MB, free: 2.703 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.2694, allocations: 4 kB / 435.5 MB, free: 2.699 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.2694, allocations: 4 kB / 435.5 MB, free: 2.695 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002794/0.2697, allocations: 95.92 kB / 435.6 MB, free: 2.602 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008032/0.2705, allocations: 407.1 kB / 436 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003644/0.2708, allocations: 114.5 kB / 436.1 MB, free: 2.047 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.271, allocations: 48.88 kB / 436.2 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.271, allocations: 4 kB / 436.2 MB, free: 1.992 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.271, allocations: 30.56 kB / 436.2 MB, free: 1.953 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/0.271, allocations: 3.938 kB / 436.2 MB, free: 1.949 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.00104/0.2721, allocations: 409.6 kB / 436.6 MB, free: 1.516 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.2721, allocations: 59.39 kB / 436.7 MB, free: 1.445 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.2722, allocations: 134.2 kB / 436.8 MB, free: 1.301 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.2722, allocations: 29.7 kB / 436.8 MB, free: 1.266 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.803e-05/0.2723, allocations: 112.2 kB / 436.9 MB, free: 1.152 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.485e-05/0.2724, allocations: 59.47 kB / 437 MB, free: 1.094 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.737e-05/0.2724, allocations: 25.72 kB / 437 MB, free: 1.062 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.2726, allocations: 326.8 kB / 437.3 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.2727, allocations: 43.88 kB / 437.4 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.2729, allocations: 79.39 kB / 437.5 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002834/0.2732, allocations: 127.3 kB / 437.6 MB, free: 476 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.2732, allocations: 0 / 437.6 MB, free: 476 kB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003571/0.2735, allocations: 164.9 kB / 437.7 MB, free: 308 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.2735, allocations: 4 kB / 437.8 MB, free: 304 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-06/0.2735, allocations: 7.938 kB / 437.8 MB, free: 296 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.2736, allocations: 64 / 437.8 MB, free: 296 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/0.2737, allocations: 47.91 kB / 437.8 MB, free: 248 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.2737, allocations: 0 / 437.8 MB, free: 248 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.343e-05/0.2738, allocations: 11.94 kB / 437.8 MB, free: 236 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.2739, allocations: 4 kB / 437.8 MB, free: 232 kB / 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.0001047/0.274, allocations: 125.8 kB / 437.9 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.642e-05/0.274, allocations: 11.91 kB / 438 MB, free: 84 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.21e-05/0.2741, allocations: 24.72 kB / 438 MB, free: 60 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.2741, allocations: 0 / 438 MB, free: 60 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.2741, allocations: 3.938 kB / 438 MB, free: 56 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.2741, allocations: 4 kB / 438 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007064/0.2748, allocations: 403.8 kB / 438.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2748, allocations: 0 / 438.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002/0.275, allocations: 39.97 kB / 438.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.275, allocations: 0 / 438.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.275, allocations: 4 kB / 438.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.275, allocations: 4.062 kB / 438.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.275, allocations: 3.938 kB / 438.4 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005389/0.2755, allocations: 309 kB / 438.7 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.876e-05/0.2755, allocations: 7.953 kB / 438.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.2756, allocations: 0 / 438.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.2757, allocations: 12.03 kB / 438.8 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.53e-05/0.2757, allocations: 7.984 kB / 438.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-06/0.2757, allocations: 4 kB / 438.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.408e-05/0.2758, allocations: 110.5 kB / 438.9 MB, free: 15.1 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2758, allocations: 0 / 438.9 MB, free: 15.1 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002765/0.2761, allocations: 31.94 kB / 438.9 MB, free: 15.07 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.0001134/0.2762, allocations: 107.2 kB / 439 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003274/0.2765, allocations: 103.9 kB / 439.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2765, allocations: 4 kB / 439.1 MB, free: 14.85 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.2767, allocations: 60.03 kB / 439.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.277, allocations: 26.58 kB / 439.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009184/0.278, allocations: 494.9 kB / 439.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.2781, allocations: 98.27 kB / 439.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.572e-05/0.2781, allocations: 16.42 kB / 439.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.032e-05/0.2782, allocations: 15.38 kB / 439.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2782, allocations: 8 kB / 439.8 MB, free: 14.1 MB / 350.1 MB Notification: Performance of Templates: time 0.004875/0.283, allocations: 1.605 MB / 441.4 MB, free: 12.53 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.4666014038957655]