Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009203/0.0009203, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008357/0.0008357, allocations: 139.9 kB / 24.89 MB, free: 9.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9634/0.9634, allocations: 173.3 MB / 201.5 MB, free: 9.238 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 268.4 MB, free: 6.258 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.192e-05/1.331e-05, allocations: 2.312 kB / 268.4 MB, free: 6.254 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.00192/0.001933, allocations: 1.812 MB / 270.3 MB, free: 4.426 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007487/0.002682, allocations: 0.6426 MB / 270.9 MB, free: 3.777 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.306e-05/0.002755, allocations: 0 / 270.9 MB, free: 3.777 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.002872, allocations: 19.8 kB / 270.9 MB, free: 3.758 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.882e-05/0.00294, allocations: 43.64 kB / 271 MB, free: 3.715 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.003144, allocations: 39.88 kB / 271 MB, free: 3.676 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.003267, allocations: 127.3 kB / 271.1 MB, free: 3.551 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.473e-05/0.003352, allocations: 23.86 kB / 271.2 MB, free: 3.527 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.194e-05/0.003423, allocations: 71.81 kB / 271.2 MB, free: 3.457 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.58e-05/0.003499, allocations: 31.91 kB / 271.3 MB, free: 3.426 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.003516, allocations: 8 kB / 271.3 MB, free: 3.418 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.536e-05/0.003581, allocations: 23.98 kB / 271.3 MB, free: 3.395 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.224e-05/0.003603, allocations: 23.91 kB / 271.3 MB, free: 3.371 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.188e-05/0.003635, allocations: 35.92 kB / 271.3 MB, free: 3.336 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.003784, allocations: 99.66 kB / 271.4 MB, free: 3.238 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.003787, allocations: 4 kB / 271.4 MB, free: 3.234 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.003787, allocations: 0 / 271.4 MB, free: 3.234 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.915e-06/0.00379, allocations: 0 / 271.4 MB, free: 3.234 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003253/0.004116, allocations: 300.7 kB / 271.7 MB, free: 2.918 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.881e-05/0.004144, allocations: 8.031 kB / 271.7 MB, free: 2.91 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.004272, allocations: 32.91 kB / 271.8 MB, free: 2.879 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.00439, allocations: 133.6 kB / 271.9 MB, free: 2.723 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.0044, allocations: 8.562 kB / 271.9 MB, free: 2.715 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.00442, allocations: 12.38 kB / 271.9 MB, free: 2.703 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.542e-05/0.004505, allocations: 73.16 kB / 272 MB, free: 2.629 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.004516, allocations: 15.86 kB / 272 MB, free: 2.613 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.004527, allocations: 8 kB / 272 MB, free: 2.605 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.004531, allocations: 0 / 272 MB, free: 2.605 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.869e-05/0.00458, allocations: 23.98 kB / 272 MB, free: 2.582 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003611/0.004941, allocations: 311.2 kB / 272.4 MB, free: 2.258 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.005073, allocations: 54.55 kB / 272.4 MB, free: 2.195 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.115e-05/0.005094, allocations: 16.84 kB / 272.4 MB, free: 2.176 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.267e-06/0.005103, allocations: 4 kB / 272.4 MB, free: 2.172 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.005122, allocations: 30.56 kB / 272.5 MB, free: 2.133 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.005123, allocations: 3.938 kB / 272.5 MB, free: 2.129 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001137/0.005236, allocations: 61.62 kB / 272.5 MB, free: 2.062 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.005265, allocations: 63.39 kB / 272.6 MB, free: 1.988 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.642e-05/0.005321, allocations: 118.8 kB / 272.7 MB, free: 1.859 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.005331, allocations: 25.7 kB / 272.7 MB, free: 1.828 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.072e-05/0.005372, allocations: 112 kB / 272.8 MB, free: 1.715 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.005393, allocations: 31.69 kB / 272.9 MB, free: 1.684 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.16e-05/0.005424, allocations: 29.7 kB / 272.9 MB, free: 1.648 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.308e-05/0.005507, allocations: 326.8 kB / 273.2 MB, free: 1.32 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.452e-05/0.005522, allocations: 8 kB / 273.2 MB, free: 1.312 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.556e-05/0.005557, allocations: 39.36 kB / 273.3 MB, free: 1.262 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.475e-05/0.005612, allocations: 55.28 kB / 273.3 MB, free: 1.195 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.005614, allocations: 0 / 273.3 MB, free: 1.195 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.108e-05/0.005695, allocations: 85.59 kB / 273.4 MB, free: 1.105 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.005706, allocations: 4 kB / 273.4 MB, free: 1.102 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.00571, allocations: 0 / 273.4 MB, free: 1.102 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.005722, allocations: 7.984 kB / 273.4 MB, free: 1.094 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.63e-05/0.005788, allocations: 27.92 kB / 273.4 MB, free: 1.066 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.476e-06/0.005791, allocations: 0 / 273.4 MB, free: 1.066 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.639e-05/0.005818, allocations: 7.938 kB / 273.4 MB, free: 1.059 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.005825, allocations: 12 kB / 273.5 MB, free: 1.047 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 (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 prepare postOptimizeDAE: time 5.358e-05/0.005879, allocations: 109.9 kB / 273.6 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.502e-05/0.005894, allocations: 12 kB / 273.6 MB, free: 0.918 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.729e-05/0.005921, allocations: 16.42 kB / 273.6 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.005923, allocations: 3.938 kB / 273.6 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.005924, allocations: 0 / 273.6 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.005927, allocations: 0 / 273.6 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.00603, allocations: 101.8 kB / 273.7 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.00603, allocations: 0 / 273.7 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.992e-05/0.00609, allocations: 19.98 kB / 273.7 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.006091, allocations: 0 / 273.7 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.006097, allocations: 0 / 273.7 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.0061, allocations: 4 kB / 273.7 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.0061, allocations: 7.938 kB / 273.7 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001134/0.006214, allocations: 171.4 kB / 273.9 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.027e-06/0.006223, allocations: 11.89 kB / 273.9 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.207e-06/0.006232, allocations: 3.938 kB / 273.9 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.318e-05/0.006265, allocations: 4 kB / 273.9 MB, free: 0.543 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.355e-05/0.006279, allocations: 7.984 kB / 273.9 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.006281, allocations: 0 / 273.9 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.33e-05/0.006294, allocations: 12.86 kB / 273.9 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006294, allocations: 0 / 273.9 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001338/0.006428, allocations: 24 kB / 274 MB, free: 0.4961 MB / 250.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 (8): * Single equations (assignments): 8 * 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 6.518e-05/0.006493, allocations: 84.41 kB / 274 MB, free: 416 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.179e-05/0.006565, allocations: 48.77 kB / 274.1 MB, free: 364 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.006568, allocations: 0 / 274.1 MB, free: 364 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.992e-05/0.006588, allocations: 24.8 kB / 274.1 MB, free: 336 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.006734, allocations: 23.56 kB / 274.1 MB, free: 316 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005539/0.007288, allocations: 320.7 kB / 274.4 MB, free: 15.96 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.501e-05/0.007323, allocations: 67.33 kB / 274.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.012e-05/0.007353, allocations: 8.5 kB / 274.5 MB, free: 15.87 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.905e-05/0.007412, allocations: 63.36 kB / 274.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of SimCode: time 3.91e-07/0.007412, allocations: 0 / 274.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of Templates: time 0.002361/0.009773, allocations: 1.023 MB / 275.6 MB, free: 14.8 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.51471413904801]