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.0008998/0.0008998, allocations: 85.17 kB / 21.5 MB, free: 2.992 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.0009005/0.0009005, allocations: 144.2 kB / 24.89 MB, free: 8.727 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 1.037/1.037, allocations: 173.4 MB / 201.5 MB, free: 8.77 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.382e-06/1.382e-06, allocations: 3.938 kB / 268.5 MB, free: 6.016 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.293e-05/2.432e-05, allocations: 2.312 kB / 268.5 MB, free: 6.012 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002915/0.002939, allocations: 1.861 MB / 270.4 MB, free: 4.137 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009481/0.003887, allocations: 0.6387 MB / 271 MB, free: 3.492 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.396e-05/0.003971, allocations: 4 kB / 271 MB, free: 3.488 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.004082, allocations: 15.8 kB / 271 MB, free: 3.473 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.069e-05/0.004163, allocations: 43.69 kB / 271.1 MB, free: 3.43 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.004357, allocations: 43.81 kB / 271.1 MB, free: 3.387 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.004507, allocations: 123.3 kB / 271.2 MB, free: 3.266 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.799e-05/0.004605, allocations: 31.86 kB / 271.3 MB, free: 3.234 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.926e-05/0.004695, allocations: 59.88 kB / 271.3 MB, free: 3.176 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.741e-05/0.004782, allocations: 39.84 kB / 271.3 MB, free: 3.137 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.004799, allocations: 8 kB / 271.4 MB, free: 3.129 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.755e-05/0.004886, allocations: 27.97 kB / 271.4 MB, free: 3.102 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.895e-05/0.004905, allocations: 15.92 kB / 271.4 MB, free: 3.086 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.81e-05/0.004943, allocations: 39.91 kB / 271.4 MB, free: 3.047 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.005111, allocations: 99.67 kB / 271.5 MB, free: 2.949 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.005113, allocations: 0 / 271.5 MB, free: 2.949 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.005114, allocations: 0 / 271.5 MB, free: 2.949 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.005118, allocations: 0 / 271.5 MB, free: 2.949 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.0003684/0.005486, allocations: 304.7 kB / 271.8 MB, free: 2.629 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.005519, allocations: 12.03 kB / 271.8 MB, free: 2.617 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001686/0.005688, allocations: 28.91 kB / 271.9 MB, free: 2.59 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.005849, allocations: 137.6 kB / 272 MB, free: 2.43 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.005861, allocations: 4.562 kB / 272 MB, free: 2.426 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.005884, allocations: 12.36 kB / 272 MB, free: 2.414 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.005993, allocations: 78.33 kB / 272.1 MB, free: 2.332 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.006005, allocations: 3.953 kB / 272.1 MB, free: 2.328 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.006016, allocations: 4 kB / 272.1 MB, free: 2.324 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.006022, allocations: 4 kB / 272.1 MB, free: 2.32 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.132e-05/0.006084, allocations: 23.98 kB / 272.1 MB, free: 2.297 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004446/0.006528, allocations: 315.2 kB / 272.4 MB, free: 1.969 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.006673, allocations: 58.53 kB / 272.5 MB, free: 1.902 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.431e-05/0.006697, allocations: 16.86 kB / 272.5 MB, free: 1.883 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.564e-06/0.006705, allocations: 0 / 272.5 MB, free: 1.883 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.006727, allocations: 38.5 kB / 272.6 MB, free: 1.836 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.006728, allocations: 0 / 272.6 MB, free: 1.836 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001356/0.006864, allocations: 69.61 kB / 272.6 MB, free: 1.762 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/0.00689, allocations: 51.41 kB / 272.7 MB, free: 1.699 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.823e-05/0.006958, allocations: 118.8 kB / 272.8 MB, free: 1.57 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.006968, allocations: 29.7 kB / 272.8 MB, free: 1.535 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.531e-05/0.007014, allocations: 112 kB / 272.9 MB, free: 1.422 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.007036, allocations: 31.69 kB / 273 MB, free: 1.391 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.244e-05/0.007078, allocations: 33.69 kB / 273 MB, free: 1.352 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.242e-05/0.00716, allocations: 318.8 kB / 273.3 MB, free: 1.031 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.651e-05/0.007177, allocations: 11.98 kB / 273.3 MB, free: 1.02 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.622e-05/0.007213, allocations: 35.06 kB / 273.3 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.676e-05/0.00728, allocations: 63.27 kB / 273.4 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.007283, allocations: 0 / 273.4 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001042/0.007387, allocations: 81.55 kB / 273.5 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.007401, allocations: 8 kB / 273.5 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.007405, allocations: 0 / 273.5 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.007419, allocations: 0 / 273.5 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.007541, allocations: 27.98 kB / 273.5 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.007548, allocations: 11.92 kB / 273.5 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.912e-05/0.007587, allocations: 7.938 kB / 273.5 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.007596, allocations: 7.984 kB / 273.6 MB, free: 0.7539 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 6.906e-05/0.007665, allocations: 121.9 kB / 273.7 MB, free: 0.625 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.411e-05/0.007689, allocations: 4 kB / 273.7 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.916e-05/0.007718, allocations: 12.42 kB / 273.7 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.007721, allocations: 4 kB / 273.7 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.007723, allocations: 0 / 273.7 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.007726, allocations: 0 / 273.7 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.007862, allocations: 97.75 kB / 273.8 MB, free: 500 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.007864, allocations: 0 / 273.8 MB, free: 500 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.007972, allocations: 27.17 kB / 273.8 MB, free: 476 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.007974, allocations: 3.938 kB / 273.8 MB, free: 472 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.007982, allocations: 3.938 kB / 273.8 MB, free: 468 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.007984, allocations: 8 kB / 273.8 MB, free: 460 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.007984, allocations: 0 / 273.8 MB, free: 460 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.008136, allocations: 171.8 kB / 274 MB, free: 272 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.243e-05/0.008148, allocations: 11.89 kB / 274 MB, free: 260 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.008162, allocations: 4 kB / 274 MB, free: 256 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.564e-05/0.008218, allocations: 4 kB / 274 MB, free: 252 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.492e-05/0.008233, allocations: 3.984 kB / 274 MB, free: 248 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.008237, allocations: 0 / 274 MB, free: 248 kB / 250.7 MB Notification: Performance of sorting global known variables: time 2.351e-05/0.00826, allocations: 16.84 kB / 274 MB, free: 228 kB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00826, allocations: 0 / 274 MB, free: 228 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002107/0.008471, allocations: 32 kB / 274.1 MB, free: 196 kB / 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 8.247e-05/0.008553, allocations: 80.42 kB / 274.1 MB, free: 108 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.655e-05/0.00865, allocations: 48.77 kB / 274.2 MB, free: 56 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.008654, allocations: 4 kB / 274.2 MB, free: 52 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.521e-05/0.00868, allocations: 20.84 kB / 274.2 MB, free: 28 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/0.008889, allocations: 19.94 kB / 274.2 MB, free: 8 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00073/0.009619, allocations: 328.8 kB / 274.6 MB, free: 15.65 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.049e-05/0.00966, allocations: 63.34 kB / 274.6 MB, free: 15.57 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.763e-05/0.009707, allocations: 8.5 kB / 274.6 MB, free: 15.56 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.155e-05/0.009779, allocations: 67.36 kB / 274.7 MB, free: 15.49 MB / 266.7 MB Notification: Performance of SimCode: time 7.62e-07/0.00978, allocations: 0 / 274.7 MB, free: 15.49 MB / 266.7 MB Notification: Performance of Templates: time 0.003253/0.01303, allocations: 1.107 MB / 275.8 MB, free: 14.42 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 -s gbode -gbm=radauIIA3 -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.640268712770194]