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.001284/0.001284, allocations: 82.92 kB / 20.68 MB, free: 1.035 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.00156/0.00156, allocations: 157.8 kB / 23.95 MB, free: 4.168 MB / 14.72 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 1.482/1.482, allocations: 177 MB / 204.1 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.843e-06/1.843e-06, allocations: 0 / 325 MB, free: 0.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.667e-05/2.851e-05, allocations: 3.625 kB / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003418/0.003447, allocations: 1.944 MB / 326.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.004727, allocations: 0.6525 MB / 327.6 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.004845, allocations: 5.219 kB / 327.6 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.004965, allocations: 15.02 kB / 327.6 MB, free: 14.72 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.005083, allocations: 54.67 kB / 327.7 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002758/0.005358, allocations: 54.8 kB / 327.7 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002181/0.005577, allocations: 150.8 kB / 327.9 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.00571, allocations: 26.73 kB / 327.9 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.005843, allocations: 75.23 kB / 328 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.005944, allocations: 45.86 kB / 328 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.005971, allocations: 9.812 kB / 328 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.054e-05/0.006061, allocations: 31.33 kB / 328 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.032e-05/0.006092, allocations: 20.97 kB / 328.1 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.841e-05/0.00615, allocations: 45.86 kB / 328.1 MB, free: 14.47 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002626/0.006413, allocations: 152 kB / 328.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.006415, allocations: 1 kB / 328.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.006417, allocations: 0 / 328.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.006427, allocations: 0 / 328.3 MB, free: 14.41 MB / 302.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.0007186/0.007145, allocations: 370.2 kB / 328.6 MB, free: 14.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.007189, allocations: 13.67 kB / 328.6 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001956/0.007385, allocations: 29.88 kB / 328.7 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.007652, allocations: 136.4 kB / 328.8 MB, free: 13.94 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.007664, allocations: 8.25 kB / 328.8 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.871e-05/0.007703, allocations: 12.09 kB / 328.8 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003085/0.008011, allocations: 117.7 kB / 328.9 MB, free: 13.87 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.008027, allocations: 2.25 kB / 328.9 MB, free: 13.87 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.008044, allocations: 5 kB / 328.9 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.008049, allocations: 2.25 kB / 328.9 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002915/0.008341, allocations: 94.42 kB / 329 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008871/0.009228, allocations: 421 kB / 329.4 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003626/0.009591, allocations: 102.5 kB / 329.5 MB, free: 13.47 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.009727, allocations: 41.56 kB / 329.6 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.009739, allocations: 5.344 kB / 329.6 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.009765, allocations: 33.09 kB / 329.6 MB, free: 13.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.253e-06/0.009767, allocations: 0 / 329.6 MB, free: 13.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005203/0.01029, allocations: 150.7 kB / 329.8 MB, free: 13.34 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.01033, allocations: 52.31 kB / 329.8 MB, free: 13.27 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.01046, allocations: 143.2 kB / 330 MB, free: 13.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.01049, allocations: 30.7 kB / 330 MB, free: 13.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.8e-05/0.01057, allocations: 111.7 kB / 330.1 MB, free: 13.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.616e-05/0.01061, allocations: 37.33 kB / 330.1 MB, free: 12.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.69e-05/0.01067, allocations: 28.22 kB / 330.2 MB, free: 12.96 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.01082, allocations: 320.8 kB / 330.5 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.01097, allocations: 39.31 kB / 330.5 MB, free: 12.63 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/0.01115, allocations: 68.77 kB / 330.6 MB, free: 12.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000329/0.01148, allocations: 112 kB / 330.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.01148, allocations: 1.188 kB / 330.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003973/0.01188, allocations: 144 kB / 330.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.0119, allocations: 5.5 kB / 330.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.01191, allocations: 2.031 kB / 330.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.774e-05/0.01194, allocations: 6.031 kB / 330.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.01211, allocations: 29.42 kB / 330.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.01212, allocations: 10.5 kB / 330.9 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.794e-05/0.01222, allocations: 7.656 kB / 330.9 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.01224, allocations: 8.469 kB / 330.9 MB, free: 12.43 MB / 302.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.0001224/0.01236, allocations: 124.1 kB / 331 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.947e-05/0.0124, allocations: 17.16 kB / 331 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.673e-05/0.01244, allocations: 20.31 kB / 331.1 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.01245, allocations: 5.062 kB / 331.1 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.01245, allocations: 0 / 331.1 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.01246, allocations: 1.625 kB / 331.1 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002192/0.01268, allocations: 143.6 kB / 331.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01268, allocations: 1.156 kB / 331.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/0.01286, allocations: 26.92 kB / 331.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.01286, allocations: 5.031 kB / 331.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.01288, allocations: 4 kB / 331.2 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.01288, allocations: 1.938 kB / 331.2 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.01288, allocations: 3.938 kB / 331.2 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005231/0.01341, allocations: 260.1 kB / 331.5 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.748e-05/0.01342, allocations: 16.22 kB / 331.5 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.01345, allocations: 5.125 kB / 331.5 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.01356, allocations: 6.938 kB / 331.5 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.447e-05/0.01362, allocations: 9.953 kB / 331.5 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.01363, allocations: 6.531 kB / 331.5 MB, free: 11.93 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.694e-05/0.0137, allocations: 102.7 kB / 331.6 MB, free: 11.85 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.0137, allocations: 0 / 331.6 MB, free: 11.85 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003185/0.01402, allocations: 31.41 kB / 331.7 MB, free: 11.84 MB / 302.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.0001196/0.01414, allocations: 93.58 kB / 331.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003141/0.01446, allocations: 94.86 kB / 331.9 MB, free: 11.72 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01446, allocations: 0 / 331.9 MB, free: 11.72 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.01459, allocations: 43.92 kB / 331.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.01493, allocations: 21.92 kB / 331.9 MB, free: 11.7 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007571/0.01568, allocations: 381.6 kB / 332.3 MB, free: 11.41 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.937e-05/0.01578, allocations: 89.22 kB / 332.4 MB, free: 11.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.335e-05/0.01584, allocations: 13.08 kB / 332.4 MB, free: 11.31 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.164e-05/0.01588, allocations: 14.09 kB / 332.4 MB, free: 11.3 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.01588, allocations: 0 / 332.4 MB, free: 11.3 MB / 302.1 MB Notification: Performance of Templates: time 0.004327/0.0202, allocations: 1.214 MB / 333.6 MB, free: 10.68 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.201436836272478]