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.001311/0.001311, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001456/0.001456, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.441/1.441, allocations: 230.6 MB / 258.3 MB, free: 8.062 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.001991/0.001991, allocations: 64.77 kB / 379 MB, free: 2.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2557, allocations: 53.37 MB / 432.4 MB, free: 6.98 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003559/0.2593, allocations: 2.013 MB / 434.4 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.2605, allocations: 0.7013 MB / 435.1 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.407e-05/0.2606, allocations: 3.938 kB / 435.1 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.2607, allocations: 27.78 kB / 435.1 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.024e-05/0.2608, allocations: 39.64 kB / 435.2 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002544/0.2611, allocations: 59.8 kB / 435.2 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002209/0.2613, allocations: 139.3 kB / 435.4 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.2614, allocations: 25.28 kB / 435.4 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.441e-05/0.2615, allocations: 55.73 kB / 435.4 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.2616, allocations: 55.77 kB / 435.5 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.2616, allocations: 12 kB / 435.5 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.282e-05/0.2617, allocations: 27.98 kB / 435.5 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.13e-05/0.2618, allocations: 23.91 kB / 435.6 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.901e-05/0.2618, allocations: 63.67 kB / 435.6 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003029/0.2621, allocations: 157.1 kB / 435.8 MB, free: 3.582 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2621, allocations: 3.938 kB / 435.8 MB, free: 3.578 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2621, allocations: 0 / 435.8 MB, free: 3.578 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.2622, allocations: 0 / 435.8 MB, free: 3.578 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.000796/0.2629, allocations: 360.1 kB / 436.1 MB, free: 3.199 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.263, allocations: 12.03 kB / 436.1 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002297/0.2632, allocations: 28.88 kB / 436.2 MB, free: 3.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.2635, allocations: 146.3 kB / 436.3 MB, free: 2.992 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.2635, allocations: 12.31 kB / 436.3 MB, free: 2.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.415e-05/0.2636, allocations: 12.38 kB / 436.3 MB, free: 2.969 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003336/0.2639, allocations: 113.6 kB / 436.5 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.2639, allocations: 0 / 436.5 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.2639, allocations: 4 kB / 436.5 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.435e-06/0.2639, allocations: 4 kB / 436.5 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002863/0.2642, allocations: 87.94 kB / 436.5 MB, free: 2.758 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009855/0.2652, allocations: 478.4 kB / 437 MB, free: 2.242 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003663/0.2656, allocations: 102.5 kB / 437.1 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.2657, allocations: 40.83 kB / 437.2 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.2657, allocations: 3.938 kB / 437.2 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.2658, allocations: 34.56 kB / 437.2 MB, free: 2.043 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.2658, allocations: 0 / 437.2 MB, free: 2.043 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004831/0.2662, allocations: 153.9 kB / 437.3 MB, free: 1.887 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/0.2663, allocations: 51.41 kB / 437.4 MB, free: 1.824 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.2664, allocations: 136.3 kB / 437.5 MB, free: 1.684 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.2664, allocations: 25.7 kB / 437.6 MB, free: 1.652 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.704e-05/0.2665, allocations: 112.2 kB / 437.7 MB, free: 1.535 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.896e-05/0.2666, allocations: 39.67 kB / 437.7 MB, free: 1.496 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.527e-05/0.2666, allocations: 25.72 kB / 437.7 MB, free: 1.465 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.2668, allocations: 330.8 kB / 438 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.2669, allocations: 39.97 kB / 438.1 MB, free: 1.094 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.2671, allocations: 63.41 kB / 438.2 MB, free: 1.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002664/0.2673, allocations: 119.2 kB / 438.3 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2673, allocations: 0 / 438.3 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003367/0.2677, allocations: 145.4 kB / 438.4 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.2677, allocations: 11.98 kB / 438.4 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.2677, allocations: 96 / 438.4 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.2677, allocations: 8 kB / 438.4 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.2679, allocations: 31.92 kB / 438.5 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.2679, allocations: 0 / 438.5 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.762e-05/0.268, allocations: 15.92 kB / 438.5 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.268, allocations: 8 kB / 438.5 MB, free: 0.668 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 0.0001003/0.2681, allocations: 113.8 kB / 438.6 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.768e-05/0.2681, allocations: 11.89 kB / 438.6 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.782e-05/0.2682, allocations: 20.72 kB / 438.6 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.2682, allocations: 0 / 438.6 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.2682, allocations: 0 / 438.6 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.2682, allocations: 7.922 kB / 438.6 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002497/0.2685, allocations: 184.6 kB / 438.8 MB, free: 288 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2685, allocations: 0 / 438.8 MB, free: 288 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001871/0.2686, allocations: 35.91 kB / 438.8 MB, free: 252 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.2686, allocations: 0 / 438.8 MB, free: 252 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.2687, allocations: 4 kB / 438.9 MB, free: 248 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2687, allocations: 0 / 438.9 MB, free: 248 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2687, allocations: 0 / 438.9 MB, free: 248 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004941/0.2692, allocations: 259.3 kB / 439.1 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.029e-05/0.2692, allocations: 16.08 kB / 439.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.2692, allocations: 4.031 kB / 439.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.2693, allocations: 11.94 kB / 439.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.134e-05/0.2694, allocations: 7.984 kB / 439.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.2694, allocations: 4 kB / 439.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.436e-05/0.2695, allocations: 103.3 kB / 439.2 MB, free: 15.83 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2695, allocations: 0 / 439.2 MB, free: 15.83 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002665/0.2697, allocations: 27.95 kB / 439.3 MB, free: 15.8 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.0001181/0.2698, allocations: 103.2 kB / 439.4 MB, free: 15.69 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003124/0.2702, allocations: 83.95 kB / 439.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2702, allocations: 4.062 kB / 439.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.2703, allocations: 47.97 kB / 439.5 MB, free: 15.56 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.2707, allocations: 23.92 kB / 439.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009157/0.2716, allocations: 468.6 kB / 440 MB, free: 15.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.2719, allocations: 0.7125 MB / 440.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.765e-05/0.272, allocations: 4.5 kB / 440.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.065e-05/0.272, allocations: 11.44 kB / 440.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.272, allocations: 8 kB / 440.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of Templates: time 0.004397/0.2764, allocations: 1.247 MB / 442 MB, free: 13.06 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 4.305419786833227]