Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001387/0.001387, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 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.001433/0.001433, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9628/0.9628, allocations: 177 MB / 204.8 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 272.9 MB, free: 1.496 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.335e-05/2.495e-05, allocations: 6.25 kB / 272.9 MB, free: 1.488 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002492/0.002517, allocations: 2.028 MB / 274.9 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008676/0.003384, allocations: 0.6817 MB / 275.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.845e-05/0.003473, allocations: 4 kB / 275.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.003598, allocations: 19.8 kB / 275.6 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.265e-05/0.003671, allocations: 35.64 kB / 275.7 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002932/0.003964, allocations: 67.72 kB / 275.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001718/0.004136, allocations: 151.2 kB / 275.9 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.004249, allocations: 25.3 kB / 275.9 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.745e-05/0.004346, allocations: 83.73 kB / 276 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.8e-05/0.004424, allocations: 43.89 kB / 276 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.004445, allocations: 8 kB / 276 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.104e-05/0.004516, allocations: 23.98 kB / 276.1 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.493e-05/0.004541, allocations: 31.84 kB / 276.1 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.54e-05/0.004587, allocations: 39.91 kB / 276.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.00479, allocations: 111.6 kB / 276.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.004793, allocations: 4 kB / 276.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.004795, allocations: 0 / 276.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.0048, allocations: 0 / 276.2 MB, free: 14.12 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.0004972/0.005297, allocations: 464 kB / 276.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.005333, allocations: 11.98 kB / 276.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001721/0.005505, allocations: 40.83 kB / 276.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.00569, allocations: 144.4 kB / 276.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.005702, allocations: 12.38 kB / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.844e-05/0.00573, allocations: 12.38 kB / 276.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.005906, allocations: 106.8 kB / 277 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.005918, allocations: 192 / 277 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.005932, allocations: 11.88 kB / 277 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.00594, allocations: 4 kB / 277 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.316e-05/0.006023, allocations: 39.91 kB / 277.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005643/0.006587, allocations: 474.4 kB / 277.5 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002058/0.006793, allocations: 75.06 kB / 277.6 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.899e-05/0.006832, allocations: 23.72 kB / 277.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.006844, allocations: 8.125 kB / 277.6 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.006863, allocations: 33.39 kB / 277.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.006865, allocations: 0 / 277.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001879/0.007053, allocations: 97.5 kB / 277.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.00708, allocations: 51.41 kB / 277.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.515e-05/0.007165, allocations: 185.9 kB / 278 MB, free: 12.19 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.007177, allocations: 29.7 kB / 278 MB, free: 12.16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.989e-05/0.007236, allocations: 166.9 kB / 278.2 MB, free: 11.98 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.007259, allocations: 39.67 kB / 278.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-05/0.007296, allocations: 31.38 kB / 278.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.007399, allocations: 0.4923 MB / 278.8 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.213e-05/0.007431, allocations: 15.98 kB / 278.8 MB, free: 11.39 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.861e-05/0.007479, allocations: 54.73 kB / 278.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.183e-05/0.007561, allocations: 78.61 kB / 278.9 MB, free: 11.22 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.007563, allocations: 0 / 278.9 MB, free: 11.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001302/0.007694, allocations: 113.4 kB / 279 MB, free: 11.11 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.007706, allocations: 4 kB / 279 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.00771, allocations: 0 / 279 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.007724, allocations: 7.938 kB / 279 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.05e-05/0.007815, allocations: 27.98 kB / 279.1 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.00782, allocations: 0 / 279.1 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.065e-05/0.00786, allocations: 19.88 kB / 279.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.007868, allocations: 4 kB / 279.1 MB, free: 11.04 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 6.73e-05/0.007935, allocations: 164.6 kB / 279.2 MB, free: 10.87 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.038e-05/0.007955, allocations: 11.95 kB / 279.2 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.715e-05/0.007982, allocations: 16.78 kB / 279.3 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.007985, allocations: 3.938 kB / 279.3 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.007988, allocations: 0 / 279.3 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.007991, allocations: 4 kB / 279.3 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.008115, allocations: 152.6 kB / 279.4 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.008117, allocations: 4 kB / 279.4 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.485e-05/0.008202, allocations: 23.98 kB / 279.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.008204, allocations: 0 / 279.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.008213, allocations: 0 / 279.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.008215, allocations: 4 kB / 279.5 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.008217, allocations: 3.938 kB / 279.5 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001926/0.00841, allocations: 256.1 kB / 279.7 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.104e-05/0.008421, allocations: 15.83 kB / 279.7 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.008435, allocations: 3.938 kB / 279.7 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.778e-05/0.008483, allocations: 7.984 kB / 279.7 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.672e-05/0.008519, allocations: 11.92 kB / 279.7 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.008524, allocations: 4 kB / 279.7 MB, free: 10.3 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.828e-05/0.008573, allocations: 142.5 kB / 279.9 MB, free: 10.17 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008573, allocations: 0 / 279.9 MB, free: 10.17 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001661/0.008739, allocations: 32 kB / 279.9 MB, free: 10.14 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 7.963e-05/0.008818, allocations: 91.25 kB / 280 MB, free: 10.04 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001278/0.008946, allocations: 59.59 kB / 280.1 MB, free: 9.977 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.008948, allocations: 0 / 280.1 MB, free: 9.977 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.829e-05/0.008986, allocations: 35.61 kB / 280.1 MB, free: 9.938 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.00922, allocations: 20.8 kB / 280.1 MB, free: 9.918 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007789/0.009999, allocations: 401.6 kB / 280.5 MB, free: 9.504 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.21e-05/0.01004, allocations: 71.33 kB / 280.6 MB, free: 9.414 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.175e-05/0.01008, allocations: 4.5 kB / 280.6 MB, free: 9.41 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.418e-05/0.01012, allocations: 12.5 kB / 280.6 MB, free: 9.398 MB / 266.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01012, allocations: 4 kB / 280.6 MB, free: 9.395 MB / 266.7 MB Notification: Performance of Templates: time 0.003127/0.01324, allocations: 1.285 MB / 281.9 MB, free: 8.133 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.5963213946670294]