Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.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.001581/0.001581, allocations: 119.3 kB / 21.18 MB, free: 0.6289 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.001741/0.001741, allocations: 206.8 kB / 24.46 MB, free: 3.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.401/1.401, allocations: 230.4 MB / 258.1 MB, free: 8.141 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-beta.om/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.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentTorque.lossPower|inertia.phi|heatCapacitor.T",fileNamePrefix="Modelica_4.1.0-beta.om_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-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 71.83 kB / 378.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2506, allocations: 53.31 MB / 432 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003434/0.254, allocations: 2.021 MB / 434.1 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.2551, allocations: 0.6974 MB / 434.7 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.483e-05/0.2552, allocations: 3.938 kB / 434.8 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001251/0.2554, allocations: 19.8 kB / 434.8 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.756e-05/0.2554, allocations: 43.62 kB / 434.8 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002521/0.2557, allocations: 55.86 kB / 434.9 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000212/0.2559, allocations: 139.3 kB / 435 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.256, allocations: 25.11 kB / 435 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.018e-05/0.2561, allocations: 63.7 kB / 435.1 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.617e-05/0.2562, allocations: 51.78 kB / 435.1 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.2562, allocations: 8 kB / 435.2 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.242e-05/0.2563, allocations: 31.92 kB / 435.2 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.854e-05/0.2564, allocations: 23.92 kB / 435.2 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.007e-05/0.2564, allocations: 63.67 kB / 435.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.2567, allocations: 149 kB / 435.4 MB, free: 3.973 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.2567, allocations: 4 kB / 435.4 MB, free: 3.969 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2567, allocations: 3.938 kB / 435.4 MB, free: 3.965 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.2567, allocations: 3.938 kB / 435.4 MB, free: 3.961 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.0006831/0.2574, allocations: 438.8 kB / 435.9 MB, free: 3.484 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.2574, allocations: 8.031 kB / 435.9 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001843/0.2576, allocations: 28.88 kB / 435.9 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.2579, allocations: 208.1 kB / 436.1 MB, free: 3.207 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.2579, allocations: 4.375 kB / 436.1 MB, free: 3.203 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.259e-05/0.2579, allocations: 16.31 kB / 436.1 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002807/0.2582, allocations: 121.5 kB / 436.2 MB, free: 3.062 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.2582, allocations: 4 kB / 436.2 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.2582, allocations: 0 / 436.2 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.2582, allocations: 4 kB / 436.2 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002798/0.2585, allocations: 91.94 kB / 436.3 MB, free: 2.965 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008999/0.2594, allocations: 0.5089 MB / 436.8 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003295/0.2597, allocations: 102.5 kB / 436.9 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.2598, allocations: 40.84 kB / 437 MB, free: 2.242 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.2599, allocations: 3.938 kB / 437 MB, free: 2.238 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.2599, allocations: 34.55 kB / 437 MB, free: 2.195 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.2599, allocations: 4 kB / 437 MB, free: 2.191 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004534/0.2603, allocations: 153.7 kB / 437.2 MB, free: 2.035 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.2604, allocations: 51.41 kB / 437.2 MB, free: 1.973 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.2605, allocations: 130.9 kB / 437.3 MB, free: 1.836 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.2605, allocations: 29.7 kB / 437.4 MB, free: 1.801 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.228e-05/0.2606, allocations: 108.2 kB / 437.5 MB, free: 1.688 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.2606, allocations: 35.69 kB / 437.5 MB, free: 1.652 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.649e-05/0.2607, allocations: 25.72 kB / 437.5 MB, free: 1.621 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.2608, allocations: 323.2 kB / 437.9 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.2609, allocations: 47.91 kB / 437.9 MB, free: 1.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.2611, allocations: 63.41 kB / 438 MB, free: 1.176 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002552/0.2613, allocations: 111.3 kB / 438.1 MB, free: 1.055 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.2613, allocations: 3.938 kB / 438.1 MB, free: 1.051 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003222/0.2617, allocations: 145.4 kB / 438.2 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.2617, allocations: 8 kB / 438.2 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.2617, allocations: 7.984 kB / 438.2 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.2617, allocations: 0 / 438.2 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.2619, allocations: 40.02 kB / 438.3 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.2619, allocations: 3.984 kB / 438.3 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.349e-05/0.262, allocations: 15.92 kB / 438.3 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.262, allocations: 4 kB / 438.3 MB, free: 0.8242 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 (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 9.914e-05/0.2621, allocations: 121.8 kB / 438.4 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.753e-05/0.2621, allocations: 11.89 kB / 438.4 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.753e-05/0.2621, allocations: 8.719 kB / 438.4 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.2621, allocations: 4 kB / 438.4 MB, free: 0.668 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2622, allocations: 4 kB / 438.4 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.2622, allocations: 3.984 kB / 438.4 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000253/0.2624, allocations: 217.5 kB / 438.7 MB, free: 408 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2624, allocations: 3.938 kB / 438.7 MB, free: 404 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/0.2626, allocations: 35.91 kB / 438.7 MB, free: 368 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2626, allocations: 0 / 438.7 MB, free: 368 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.2626, allocations: 3.984 kB / 438.7 MB, free: 364 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2626, allocations: 0 / 438.7 MB, free: 364 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2626, allocations: 4 kB / 438.7 MB, free: 360 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000482/0.2631, allocations: 259.3 kB / 439 MB, free: 84 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.851e-05/0.2632, allocations: 89 kB / 439 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.2632, allocations: 4.031 kB / 439.1 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.2633, allocations: 8 kB / 439.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/0.2633, allocations: 7.984 kB / 439.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.2633, allocations: 0 / 439.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.83e-05/0.2634, allocations: 110.1 kB / 439.2 MB, free: 15.85 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2634, allocations: 0 / 439.2 MB, free: 15.85 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000247/0.2637, allocations: 31.95 kB / 439.2 MB, free: 15.82 MB / 350.1 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 0.000114/0.2638, allocations: 95.25 kB / 439.3 MB, free: 15.72 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002955/0.2641, allocations: 91.84 kB / 439.4 MB, free: 15.63 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.2641, allocations: 4.188 kB / 439.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.2642, allocations: 47.97 kB / 439.4 MB, free: 15.58 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.2645, allocations: 19.92 kB / 439.5 MB, free: 15.56 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008133/0.2653, allocations: 496.7 kB / 439.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/0.2656, allocations: 0.7116 MB / 440.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.547e-05/0.2657, allocations: 11.44 kB / 440.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2657, allocations: 0 / 440.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of Templates: time 0.003189/0.2689, allocations: 1.581 MB / 442.2 MB, free: 12.72 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.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: 6.5100590800866485]