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.0008321/0.0008321, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 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.001425/0.001425, allocations: 164.4 kB / 24.82 MB, free: 9.266 MB / 18.57 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 0.9831/0.9831, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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 2.204e-06/2.204e-06, allocations: 0 / 273.4 MB, free: 1.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.731e-05/2.952e-05, allocations: 9.125 kB / 273.4 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003541/0.00357, allocations: 2.014 MB / 275.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.004802, allocations: 0.6856 MB / 276.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.004915, allocations: 0 / 276.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001281/0.005043, allocations: 23.8 kB / 276.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.005147, allocations: 43.58 kB / 276.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002803/0.005427, allocations: 55.8 kB / 276.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002138/0.005641, allocations: 155.2 kB / 276.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.005768, allocations: 21.31 kB / 276.4 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.005902, allocations: 79.84 kB / 276.5 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.933e-05/0.005992, allocations: 43.84 kB / 276.5 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.006015, allocations: 12 kB / 276.5 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.597e-05/0.006101, allocations: 27.97 kB / 276.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.72e-05/0.006128, allocations: 23.92 kB / 276.6 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.907e-05/0.006177, allocations: 47.89 kB / 276.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.006391, allocations: 115.5 kB / 276.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.006393, allocations: 0 / 276.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.006394, allocations: 4 kB / 276.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.006398, allocations: 0 / 276.7 MB, free: 13.93 MB / 266.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.000583/0.006981, allocations: 475.9 kB / 277.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.007023, allocations: 8.031 kB / 277.2 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001798/0.007203, allocations: 40.83 kB / 277.2 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.00737, allocations: 154.7 kB / 277.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.007384, allocations: 8.375 kB / 277.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/0.007408, allocations: 8.375 kB / 277.4 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.007587, allocations: 95.56 kB / 277.5 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.007601, allocations: 4.141 kB / 277.5 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.007616, allocations: 11.94 kB / 277.5 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.007622, allocations: 4 kB / 277.5 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.769e-05/0.00771, allocations: 41.86 kB / 277.6 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005912/0.008301, allocations: 419.2 kB / 278 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.008513, allocations: 86.97 kB / 278.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.109e-05/0.008554, allocations: 23.72 kB / 278.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.008566, allocations: 4.219 kB / 278.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.00859, allocations: 37.33 kB / 278.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.883e-06/0.008591, allocations: 4 kB / 278.1 MB, free: 12.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004891/0.009081, allocations: 281.5 kB / 278.4 MB, free: 12.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.009109, allocations: 55.41 kB / 278.5 MB, free: 12.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.932e-05/0.009208, allocations: 197.1 kB / 278.6 MB, free: 11.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.009221, allocations: 25.7 kB / 278.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.011e-05/0.009281, allocations: 159 kB / 278.8 MB, free: 11.62 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.801e-05/0.009309, allocations: 51.53 kB / 278.9 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.362e-05/0.009353, allocations: 39.34 kB / 278.9 MB, free: 11.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.009477, allocations: 0.4962 MB / 279.4 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.269e-05/0.0095, allocations: 12 kB / 279.4 MB, free: 11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.538e-05/0.009545, allocations: 62.56 kB / 279.5 MB, free: 10.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.491e-05/0.00962, allocations: 90.59 kB / 279.6 MB, free: 10.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.009621, allocations: 0 / 279.6 MB, free: 10.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001194/0.009741, allocations: 117.3 kB / 279.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.009752, allocations: 4 kB / 279.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.009756, allocations: 4 kB / 279.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.009767, allocations: 48 / 279.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.774e-05/0.009865, allocations: 39.91 kB / 279.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.009869, allocations: 8.062 kB / 279.7 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.889e-05/0.009908, allocations: 11.94 kB / 279.8 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.455e-06/0.009917, allocations: 7.984 kB / 279.8 MB, free: 10.63 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 (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 6.828e-05/0.009985, allocations: 156.6 kB / 279.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.01001, allocations: 11.95 kB / 279.9 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.208e-05/0.01004, allocations: 20.78 kB / 279.9 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.01004, allocations: 0 / 279.9 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.01004, allocations: 0 / 279.9 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.01005, allocations: 7.875 kB / 280 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003258/0.01037, allocations: 389.2 kB / 280.3 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01037, allocations: 0 / 280.3 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.901e-05/0.01047, allocations: 31.98 kB / 280.4 MB, free: 9.973 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.01048, allocations: 0 / 280.4 MB, free: 9.973 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.01048, allocations: 4 kB / 280.4 MB, free: 9.969 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.87e-06/0.01049, allocations: 11.98 kB / 280.4 MB, free: 9.957 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.01049, allocations: 3.938 kB / 280.4 MB, free: 9.953 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001938/0.01069, allocations: 271.2 kB / 280.6 MB, free: 9.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.082e-05/0.0107, allocations: 15.97 kB / 280.7 MB, free: 9.645 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.01071, allocations: 7.984 kB / 280.7 MB, free: 9.637 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.188e-05/0.01076, allocations: 8 kB / 280.7 MB, free: 9.629 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.271e-05/0.0108, allocations: 11.92 kB / 280.7 MB, free: 9.617 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.0108, allocations: 4 kB / 280.7 MB, free: 9.613 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.851e-05/0.01085, allocations: 139.2 kB / 280.8 MB, free: 9.477 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.01085, allocations: 0 / 280.8 MB, free: 9.477 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001752/0.01103, allocations: 35.98 kB / 280.9 MB, free: 9.441 MB / 266.7 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 9.292e-05/0.01112, allocations: 95.19 kB / 281 MB, free: 9.34 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001121/0.01123, allocations: 71.59 kB / 281 MB, free: 9.266 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.01123, allocations: 0 / 281 MB, free: 9.266 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.455e-05/0.01128, allocations: 48.41 kB / 281.1 MB, free: 9.215 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.01152, allocations: 19.98 kB / 281.1 MB, free: 9.195 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006343/0.01216, allocations: 422.3 kB / 281.5 MB, free: 8.746 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.242e-05/0.0122, allocations: 71.33 kB / 281.6 MB, free: 8.656 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.231e-05/0.01224, allocations: 8.656 kB / 281.6 MB, free: 8.648 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.56e-05/0.01233, allocations: 90.19 kB / 281.7 MB, free: 8.559 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01233, allocations: 0 / 281.7 MB, free: 8.559 MB / 266.7 MB Notification: Performance of Templates: time 0.003234/0.01556, allocations: 1.569 MB / 283.2 MB, free: 7.023 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 240] 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","",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.6435107477009296]