Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.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.001047/0.001047, allocations: 77.88 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.001165/0.001165, allocations: 169.2 kB / 24.82 MB, free: 8.93 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.94/0.94, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentTorque.lossPower|inertia.phi|heatCapacitor.T",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 273.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.439e-05/2.626e-05, allocations: 10.25 kB / 273.4 MB, free: 1.293 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002634/0.00266, allocations: 2.012 MB / 275.4 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008872/0.003547, allocations: 0.6778 MB / 276.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.916e-05/0.003637, allocations: 0 / 276.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001141/0.003751, allocations: 27.73 kB / 276.1 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.276e-05/0.003823, allocations: 39.64 kB / 276.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003276/0.004151, allocations: 59.72 kB / 276.2 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.004314, allocations: 147.3 kB / 276.3 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.004426, allocations: 25.28 kB / 276.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.004535, allocations: 79.75 kB / 276.4 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.948e-05/0.004615, allocations: 43.88 kB / 276.5 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.004636, allocations: 12 kB / 276.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.39e-05/0.00473, allocations: 31.98 kB / 276.5 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.896e-05/0.004759, allocations: 23.84 kB / 276.6 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.693e-05/0.004816, allocations: 43.92 kB / 276.6 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.005033, allocations: 111.6 kB / 276.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.005035, allocations: 0 / 276.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.005036, allocations: 0 / 276.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.00504, allocations: 0 / 276.7 MB, free: 13.96 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.0004322/0.005472, allocations: 463.9 kB / 277.2 MB, free: 13.47 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.00551, allocations: 12.03 kB / 277.2 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001455/0.005655, allocations: 48.75 kB / 277.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.005799, allocations: 144.4 kB / 277.4 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.00581, allocations: 8.375 kB / 277.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.005831, allocations: 8.375 kB / 277.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.005966, allocations: 99.55 kB / 277.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.005975, allocations: 192 / 277.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.005987, allocations: 11.92 kB / 277.5 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.005992, allocations: 4 kB / 277.5 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.169e-05/0.006054, allocations: 37.81 kB / 277.5 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004793/0.006533, allocations: 443 kB / 278 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.006693, allocations: 79.09 kB / 278 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.595e-05/0.006719, allocations: 19.81 kB / 278.1 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.949e-06/0.006729, allocations: 4 kB / 278.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.006749, allocations: 37.39 kB / 278.1 MB, free: 12.44 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.00675, allocations: 0 / 278.1 MB, free: 12.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001504/0.006901, allocations: 89.56 kB / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.347e-05/0.006924, allocations: 55.34 kB / 278.2 MB, free: 12.28 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.815e-05/0.007002, allocations: 188.1 kB / 278.4 MB, free: 12.08 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.007016, allocations: 29.7 kB / 278.5 MB, free: 12.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.936e-05/0.007075, allocations: 162.9 kB / 278.6 MB, free: 11.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.007098, allocations: 39.67 kB / 278.6 MB, free: 11.84 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-05/0.007138, allocations: 35.36 kB / 278.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.007251, allocations: 0.4923 MB / 279.2 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.241e-05/0.007273, allocations: 11.98 kB / 279.2 MB, free: 11.28 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.957e-05/0.007312, allocations: 46.73 kB / 279.2 MB, free: 11.21 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.942e-05/0.007402, allocations: 74.66 kB / 279.3 MB, free: 11.12 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.007404, allocations: 0 / 279.3 MB, free: 11.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001112/0.007515, allocations: 101.4 kB / 279.4 MB, free: 11.02 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.007528, allocations: 8 kB / 279.4 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.007533, allocations: 0 / 279.4 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.607e-06/0.007542, allocations: 0 / 279.4 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.737e-05/0.007629, allocations: 27.98 kB / 279.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.007634, allocations: 8.031 kB / 279.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.306e-05/0.007677, allocations: 23.88 kB / 279.5 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.007682, allocations: 0 / 279.5 MB, free: 10.95 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 (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 7.367e-05/0.007756, allocations: 164.5 kB / 279.6 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002275/0.007983, allocations: 11.95 kB / 279.6 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.89e-05/0.008012, allocations: 12.78 kB / 279.7 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.008015, allocations: 4 kB / 279.7 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.008017, allocations: 3.938 kB / 279.7 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.008021, allocations: 3.984 kB / 279.7 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.008148, allocations: 121.2 kB / 279.8 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.00815, allocations: 4 kB / 279.8 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.227e-05/0.008233, allocations: 23.98 kB / 279.8 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.008234, allocations: 0 / 279.8 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.008246, allocations: 8 kB / 279.8 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.008247, allocations: 3.938 kB / 279.8 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.008248, allocations: 3.938 kB / 279.8 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.008434, allocations: 243.7 kB / 280.1 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.222e-05/0.008446, allocations: 11.88 kB / 280.1 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.008458, allocations: 4 kB / 280.1 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.624e-05/0.008504, allocations: 4 kB / 280.1 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.819e-05/0.008532, allocations: 11.98 kB / 280.1 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/0.008536, allocations: 0 / 280.1 MB, free: 10.27 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.567e-05/0.008582, allocations: 145.8 kB / 280.2 MB, free: 10.13 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008582, allocations: 0 / 280.2 MB, free: 10.13 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001707/0.008752, allocations: 27.94 kB / 280.3 MB, free: 10.1 MB / 266.7 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 8.926e-05/0.008842, allocations: 99.3 kB / 280.4 MB, free: 9.996 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.423e-05/0.008936, allocations: 51.58 kB / 280.4 MB, free: 9.941 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.008937, allocations: 4 kB / 280.4 MB, free: 9.938 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.979e-05/0.008967, allocations: 28.08 kB / 280.4 MB, free: 9.906 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.00919, allocations: 44.23 kB / 280.5 MB, free: 9.863 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006825/0.009873, allocations: 381.8 kB / 280.9 MB, free: 9.465 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.55e-05/0.009908, allocations: 63.34 kB / 280.9 MB, free: 9.383 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.233e-05/0.009951, allocations: 12.48 kB / 280.9 MB, free: 9.371 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.166e-05/0.01002, allocations: 86.19 kB / 281 MB, free: 9.285 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01002, allocations: 0 / 281 MB, free: 9.285 MB / 266.7 MB Notification: Performance of Templates: time 0.003088/0.01311, allocations: 1.328 MB / 282.3 MB, free: 7.984 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",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.494569177739322]