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.00134/0.00134, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.001315/0.001315, allocations: 145.1 kB / 24.54 MB, free: 36 kB / 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.9077/0.9077, allocations: 173.3 MB / 201.1 MB, free: 9.34 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.673e-06/1.673e-06, allocations: 0 / 268 MB, free: 6.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.017e-05/2.184e-05, allocations: 10.19 kB / 268 MB, free: 6.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.00298/0.003002, allocations: 1.814 MB / 269.8 MB, free: 4.621 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.004077, allocations: 0.631 MB / 270.4 MB, free: 3.984 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.294e-05/0.00416, allocations: 7.938 kB / 270.4 MB, free: 3.977 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.004286, allocations: 15.86 kB / 270.5 MB, free: 3.961 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.767e-05/0.004374, allocations: 39.64 kB / 270.5 MB, free: 3.922 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002516/0.004625, allocations: 47.81 kB / 270.5 MB, free: 3.875 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000177/0.004802, allocations: 127.3 kB / 270.7 MB, free: 3.75 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.004931, allocations: 15.94 kB / 270.7 MB, free: 3.734 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.005038, allocations: 75.8 kB / 270.8 MB, free: 3.66 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.653e-05/0.005135, allocations: 35.89 kB / 270.8 MB, free: 3.625 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.005157, allocations: 11.94 kB / 270.8 MB, free: 3.613 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.891e-05/0.005236, allocations: 20 kB / 270.8 MB, free: 3.594 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.359e-05/0.00526, allocations: 19.92 kB / 270.8 MB, free: 3.574 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.099e-05/0.005311, allocations: 39.91 kB / 270.9 MB, free: 3.535 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002194/0.00553, allocations: 99.66 kB / 271 MB, free: 3.438 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.005532, allocations: 0 / 271 MB, free: 3.438 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.005533, allocations: 0 / 271 MB, free: 3.438 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.369e-06/0.005537, allocations: 0 / 271 MB, free: 3.438 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.0005373/0.006075, allocations: 428.4 kB / 271.4 MB, free: 2.984 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.006113, allocations: 12.03 kB / 271.4 MB, free: 2.973 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002205/0.006333, allocations: 40.77 kB / 271.4 MB, free: 2.934 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.006508, allocations: 136.4 kB / 271.6 MB, free: 2.773 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.006523, allocations: 8.562 kB / 271.6 MB, free: 2.766 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/0.006551, allocations: 8.375 kB / 271.6 MB, free: 2.758 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.006713, allocations: 81.72 kB / 271.7 MB, free: 2.676 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.006733, allocations: 3.984 kB / 271.7 MB, free: 2.672 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.006747, allocations: 4 kB / 271.7 MB, free: 2.668 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.006756, allocations: 4 kB / 271.7 MB, free: 2.664 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.006861, allocations: 35.97 kB / 271.7 MB, free: 2.629 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006878/0.007549, allocations: 438.6 kB / 272.1 MB, free: 2.16 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000251/0.0078, allocations: 71.11 kB / 272.2 MB, free: 2.078 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.312e-05/0.007843, allocations: 19.69 kB / 272.2 MB, free: 2.055 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/0.007852, allocations: 0 / 272.2 MB, free: 2.055 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.007877, allocations: 41.38 kB / 272.3 MB, free: 2.004 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.007878, allocations: 0 / 272.3 MB, free: 2.004 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002204/0.008099, allocations: 85.72 kB / 272.4 MB, free: 1.914 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.008133, allocations: 51.41 kB / 272.4 MB, free: 1.852 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.008238, allocations: 185.8 kB / 272.6 MB, free: 1.652 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.008251, allocations: 25.7 kB / 272.6 MB, free: 1.621 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.647e-05/0.008328, allocations: 162.7 kB / 272.8 MB, free: 1.457 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.008356, allocations: 27.75 kB / 272.8 MB, free: 1.43 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-05/0.008406, allocations: 35.36 kB / 272.8 MB, free: 1.387 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.008543, allocations: 0.4883 MB / 273.3 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.166e-05/0.008584, allocations: 11.98 kB / 273.3 MB, free: 0.875 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.876e-05/0.008653, allocations: 54.73 kB / 273.4 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.923e-05/0.008752, allocations: 78.61 kB / 273.5 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.008756, allocations: 4 kB / 273.5 MB, free: 0.707 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001566/0.008913, allocations: 93.52 kB / 273.6 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.008928, allocations: 8 kB / 273.6 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.008933, allocations: 0 / 273.6 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.008946, allocations: 0 / 273.6 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.009058, allocations: 27.92 kB / 273.6 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.009064, allocations: 4 kB / 273.6 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.947e-05/0.009114, allocations: 15.89 kB / 273.6 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.009121, allocations: 4.094 kB / 273.6 MB, free: 0.5508 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 8.445e-05/0.009205, allocations: 164.5 kB / 273.8 MB, free: 388 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.252e-05/0.009238, allocations: 7.953 kB / 273.8 MB, free: 380 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.795e-05/0.009276, allocations: 24.42 kB / 273.8 MB, free: 352 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.009278, allocations: 0 / 273.8 MB, free: 352 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.009281, allocations: 0 / 273.8 MB, free: 352 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.009286, allocations: 7.922 kB / 273.8 MB, free: 344 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/0.009447, allocations: 140.5 kB / 274 MB, free: 168 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.009449, allocations: 0 / 274 MB, free: 168 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.009577, allocations: 20 kB / 274 MB, free: 148 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.009579, allocations: 4 kB / 274 MB, free: 144 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.009593, allocations: 4 kB / 274 MB, free: 140 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.009596, allocations: 3.984 kB / 274 MB, free: 136 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.009597, allocations: 0 / 274 MB, free: 136 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.009841, allocations: 247.7 kB / 274.2 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.407e-05/0.009855, allocations: 11.89 kB / 274.2 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.009872, allocations: 0 / 274.2 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.181e-05/0.009943, allocations: 0 / 274.2 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.388e-05/0.009967, allocations: 15.92 kB / 274.3 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-06/0.009973, allocations: 0 / 274.3 MB, free: 15.84 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.49e-05/0.01003, allocations: 131.2 kB / 274.4 MB, free: 15.71 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.01003, allocations: 4 kB / 274.4 MB, free: 15.71 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000272/0.0103, allocations: 20 kB / 274.4 MB, free: 15.69 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 (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.866e-05/0.01039, allocations: 103.2 kB / 274.5 MB, free: 15.58 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001544/0.01054, allocations: 47.61 kB / 274.6 MB, free: 15.53 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01054, allocations: 4 kB / 274.6 MB, free: 15.53 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.956e-05/0.01058, allocations: 27.61 kB / 274.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.0109, allocations: 24.66 kB / 274.6 MB, free: 15.47 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009141/0.01182, allocations: 370.2 kB / 275 MB, free: 15.08 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.825e-05/0.01186, allocations: 63.34 kB / 275 MB, free: 15 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.598e-05/0.01191, allocations: 8.484 kB / 275 MB, free: 14.98 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.178e-05/0.01194, allocations: 12.5 kB / 275.1 MB, free: 14.97 MB / 266.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01194, allocations: 4 kB / 275.1 MB, free: 14.97 MB / 266.7 MB Notification: Performance of Templates: time 0.002944/0.01489, allocations: 0.9832 MB / 276 MB, free: 14.01 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.624099314212799]