Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.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.0009833/0.0009833, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001327/0.002311, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0009125/0.0009125, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001221/0.002133, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9975/0.9975, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08543/1.083, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.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.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentForce.lossPower|mass.s|heatCapacitor.T",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentForce.lossPower|mass.s|heatCapacitor.T",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 245 MB, free: 13.67 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.801e-05/1.944e-05, allocations: 2.312 kB / 245 MB, free: 13.67 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002598/0.002618, allocations: 2.091 MB / 247.1 MB, free: 11.56 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008648/0.003483, allocations: 0.6894 MB / 247.8 MB, free: 10.87 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.83e-05/0.003561, allocations: 4 kB / 247.8 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.551e-05/0.003636, allocations: 23.73 kB / 247.8 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.961e-05/0.003706, allocations: 43.58 kB / 247.8 MB, free: 10.8 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001345/0.003841, allocations: 51.8 kB / 247.9 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.003987, allocations: 159.2 kB / 248.1 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.004087, allocations: 29.95 kB / 248.1 MB, free: 10.56 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.004203, allocations: 87.8 kB / 248.2 MB, free: 10.48 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.336e-05/0.004286, allocations: 51.81 kB / 248.2 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.004305, allocations: 16 kB / 248.2 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.962e-05/0.004384, allocations: 23.98 kB / 248.3 MB, free: 10.39 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.864e-05/0.004403, allocations: 15.94 kB / 248.3 MB, free: 10.37 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.534e-05/0.004438, allocations: 35.94 kB / 248.3 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.00461, allocations: 107.6 kB / 248.4 MB, free: 10.23 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.3e-05/0.004623, allocations: 3.938 kB / 248.4 MB, free: 10.23 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.004624, allocations: 0 / 248.4 MB, free: 10.23 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.004635, allocations: 0 / 248.4 MB, free: 10.23 MB / 250.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.0004516/0.005087, allocations: 367.9 kB / 248.8 MB, free: 9.844 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.768e-05/0.005115, allocations: 8.031 kB / 248.8 MB, free: 9.836 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001841/0.005299, allocations: 118 kB / 248.9 MB, free: 9.703 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.005438, allocations: 129.7 kB / 249 MB, free: 9.551 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.005451, allocations: 12.31 kB / 249 MB, free: 9.539 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.005475, allocations: 16.33 kB / 249.1 MB, free: 9.523 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.005625, allocations: 95.55 kB / 249.1 MB, free: 9.422 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.005634, allocations: 192 / 249.1 MB, free: 9.422 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.005647, allocations: 11.94 kB / 249.2 MB, free: 9.41 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.005653, allocations: 4 kB / 249.2 MB, free: 9.406 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.96e-05/0.005722, allocations: 35.84 kB / 249.2 MB, free: 9.371 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004588/0.006181, allocations: 323 kB / 249.5 MB, free: 9.035 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/0.006414, allocations: 66.55 kB / 249.6 MB, free: 8.961 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.577e-05/0.00645, allocations: 25 kB / 249.6 MB, free: 8.934 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.006472, allocations: 7.938 kB / 249.6 MB, free: 8.926 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.006502, allocations: 34.56 kB / 249.6 MB, free: 8.883 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.753e-06/0.006503, allocations: 0 / 249.6 MB, free: 8.883 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005019/0.007005, allocations: 269.1 kB / 249.9 MB, free: 8.586 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.007033, allocations: 55.41 kB / 250 MB, free: 8.52 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.715e-05/0.0071, allocations: 142.1 kB / 250.1 MB, free: 8.371 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.007111, allocations: 25.7 kB / 250.1 MB, free: 8.34 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.228e-05/0.007153, allocations: 104.3 kB / 250.2 MB, free: 8.23 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.007184, allocations: 51.58 kB / 250.3 MB, free: 8.18 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.113e-05/0.007225, allocations: 33.69 kB / 250.3 MB, free: 8.141 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.359e-05/0.007308, allocations: 334.7 kB / 250.6 MB, free: 7.805 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.264e-05/0.007331, allocations: 12 kB / 250.6 MB, free: 7.793 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.867e-05/0.00737, allocations: 47.27 kB / 250.7 MB, free: 7.734 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.27e-05/0.007442, allocations: 71.19 kB / 250.8 MB, free: 7.656 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.007444, allocations: 4 kB / 250.8 MB, free: 7.652 MB / 250.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001066/0.00755, allocations: 97.53 kB / 250.9 MB, free: 7.551 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.007563, allocations: 4 kB / 250.9 MB, free: 7.547 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.007568, allocations: 0 / 250.9 MB, free: 7.547 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.377e-06/0.007578, allocations: 8.062 kB / 250.9 MB, free: 7.539 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.007716, allocations: 43.91 kB / 250.9 MB, free: 7.496 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.00772, allocations: 7.938 kB / 250.9 MB, free: 7.488 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.855e-05/0.007759, allocations: 8 kB / 250.9 MB, free: 7.48 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.007765, allocations: 4 kB / 250.9 MB, free: 7.477 MB / 250.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 (18): * Single equations (assignments): 18 * 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.149e-05/0.007826, allocations: 113.8 kB / 251 MB, free: 7.355 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.007849, allocations: 15.98 kB / 251.1 MB, free: 7.34 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.951e-05/0.007879, allocations: 16.78 kB / 251.1 MB, free: 7.324 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.007881, allocations: 0 / 251.1 MB, free: 7.324 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.007883, allocations: 4 kB / 251.1 MB, free: 7.32 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.007888, allocations: 3.938 kB / 251.1 MB, free: 7.316 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002979/0.008186, allocations: 285.1 kB / 251.4 MB, free: 7.008 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.008189, allocations: 4 kB / 251.4 MB, free: 7.004 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.008303, allocations: 35.97 kB / 251.4 MB, free: 6.969 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.698e-06/0.008312, allocations: 7.953 kB / 251.4 MB, free: 6.961 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.008317, allocations: 7.938 kB / 251.4 MB, free: 6.953 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.008324, allocations: 0 / 251.4 MB, free: 6.953 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.008326, allocations: 8 kB / 251.4 MB, free: 6.945 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.008328, allocations: 4 kB / 251.4 MB, free: 6.941 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/0.008491, allocations: 216.7 kB / 251.6 MB, free: 6.711 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.008504, allocations: 7.938 kB / 251.7 MB, free: 6.703 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.227e-05/0.008556, allocations: 11.98 kB / 251.7 MB, free: 6.691 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.826e-05/0.008584, allocations: 7.984 kB / 251.7 MB, free: 6.684 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.008588, allocations: 0 / 251.7 MB, free: 6.684 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.084e-05/0.008609, allocations: 36.09 kB / 251.7 MB, free: 6.648 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008609, allocations: 0 / 251.7 MB, free: 6.648 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001407/0.00875, allocations: 28 kB / 251.7 MB, free: 6.621 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mass.s,mass.v,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 (13): * Single equations (assignments): 13 * 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.153e-05/0.008821, allocations: 84.36 kB / 251.8 MB, free: 6.531 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.359e-05/0.008915, allocations: 64.05 kB / 251.9 MB, free: 6.469 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.00892, allocations: 0 / 251.9 MB, free: 6.469 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.408e-05/0.008954, allocations: 36.88 kB / 251.9 MB, free: 6.43 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001806/0.009135, allocations: 40.09 kB / 252 MB, free: 6.391 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.01081, allocations: 362.6 kB / 252.3 MB, free: 6 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.514e-05/0.01085, allocations: 67.84 kB / 252.4 MB, free: 5.914 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.373e-05/0.01091, allocations: 16.64 kB / 252.4 MB, free: 5.898 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.583e-05/0.01098, allocations: 75.34 kB / 252.5 MB, free: 5.824 MB / 250.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01098, allocations: 0 / 252.5 MB, free: 5.824 MB / 250.7 MB Notification: Performance of Templates: time 0.003251/0.01423, allocations: 1.615 MB / 254.1 MB, free: 4.234 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/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.478603472933173]