Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009944/0.0009944, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9992/0.9992, allocations: 177.1 MB / 205 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 273 MB, free: 1.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.249e-05/2.404e-05, allocations: 2.312 kB / 273 MB, free: 1.562 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002433/0.002457, allocations: 2.037 MB / 275 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008023/0.003259, allocations: 0.6779 MB / 275.7 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.966e-05/0.003339, allocations: 3.938 kB / 275.7 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.003445, allocations: 19.84 kB / 275.7 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.758e-05/0.003512, allocations: 47.58 kB / 275.7 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002681/0.00378, allocations: 59.73 kB / 275.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001567/0.003937, allocations: 151.2 kB / 275.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.004051, allocations: 17.3 kB / 276 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.354e-05/0.004145, allocations: 79.8 kB / 276 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.101e-05/0.004226, allocations: 47.88 kB / 276.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.004247, allocations: 12 kB / 276.1 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.055e-05/0.004317, allocations: 27.98 kB / 276.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.28e-05/0.00434, allocations: 23.91 kB / 276.2 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.899e-05/0.004389, allocations: 47.86 kB / 276.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.004591, allocations: 111.6 kB / 276.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.594e-06/0.004594, allocations: 0 / 276.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.004595, allocations: 0 / 276.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.004601, allocations: 0 / 276.3 MB, free: 14.2 MB / 266.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.0004969/0.005098, allocations: 468 kB / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.00514, allocations: 8.031 kB / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001883/0.005328, allocations: 40.83 kB / 276.8 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.005501, allocations: 151.2 kB / 277 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.005516, allocations: 12.36 kB / 277 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.019e-05/0.005546, allocations: 12.38 kB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.005719, allocations: 99.55 kB / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.005731, allocations: 4.188 kB / 277.1 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.005745, allocations: 7.938 kB / 277.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.005753, allocations: 4 kB / 277.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.007e-05/0.005843, allocations: 37.94 kB / 277.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006727/0.006515, allocations: 474.3 kB / 277.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/0.006754, allocations: 79.06 kB / 277.7 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.375e-05/0.006797, allocations: 27.66 kB / 277.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.006812, allocations: 4 kB / 277.7 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.006848, allocations: 37.39 kB / 277.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 2.675e-06/0.00685, allocations: 0 / 277.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002614/0.007112, allocations: 93.69 kB / 277.8 MB, free: 12.53 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.007155, allocations: 59.34 kB / 277.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.007278, allocations: 191.6 kB / 278.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.007294, allocations: 25.7 kB / 278.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.68e-05/0.007381, allocations: 166.9 kB / 278.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.007408, allocations: 35.69 kB / 278.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.347e-05/0.007451, allocations: 31.38 kB / 278.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.007605, allocations: 0.4884 MB / 278.8 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.512e-05/0.00764, allocations: 15.98 kB / 278.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.025e-05/0.0077, allocations: 50.73 kB / 278.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.896e-05/0.007799, allocations: 82.69 kB / 279 MB, free: 11.3 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.007802, allocations: 0 / 279 MB, free: 11.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001484/0.007951, allocations: 101.5 kB / 279.1 MB, free: 11.19 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.007969, allocations: 8 kB / 279.1 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.007976, allocations: 0 / 279.1 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.007996, allocations: 11.88 kB / 279.1 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.741e-05/0.008094, allocations: 27.98 kB / 279.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.008103, allocations: 4 kB / 279.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.112e-05/0.008145, allocations: 15.97 kB / 279.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.008153, allocations: 8 kB / 279.1 MB, free: 11.12 MB / 266.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 (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 8.73e-05/0.008241, allocations: 164.5 kB / 279.3 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.008264, allocations: 11.95 kB / 279.3 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.063e-05/0.008305, allocations: 16.78 kB / 279.3 MB, free: 10.92 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.008308, allocations: 3.938 kB / 279.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.008313, allocations: 0 / 279.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.008317, allocations: 0 / 279.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.008442, allocations: 152.6 kB / 279.5 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.008443, allocations: 0 / 279.5 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.216e-05/0.008525, allocations: 23.98 kB / 279.5 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.008528, allocations: 8 kB / 279.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.008539, allocations: 0 / 279.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.00854, allocations: 0 / 279.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.008542, allocations: 3.938 kB / 279.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.008742, allocations: 255.8 kB / 279.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.478e-06/0.008752, allocations: 7.891 kB / 279.8 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.008766, allocations: 4 kB / 279.8 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.6e-05/0.008812, allocations: 7.984 kB / 279.8 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.008847, allocations: 7.938 kB / 279.8 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.008852, allocations: 7.984 kB / 279.8 MB, free: 10.39 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.759e-05/0.0089, allocations: 146 kB / 279.9 MB, free: 10.25 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0089, allocations: 0 / 279.9 MB, free: 10.25 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001591/0.009059, allocations: 35.88 kB / 280 MB, free: 10.21 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 (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 7.868e-05/0.009138, allocations: 91.25 kB / 280.1 MB, free: 10.12 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000121/0.009259, allocations: 63.59 kB / 280.1 MB, free: 10.05 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.00926, allocations: 0 / 280.1 MB, free: 10.05 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.705e-05/0.009297, allocations: 32.08 kB / 280.2 MB, free: 10.02 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.009523, allocations: 36.25 kB / 280.2 MB, free: 9.98 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007507/0.01027, allocations: 378.2 kB / 280.6 MB, free: 9.586 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.138e-05/0.01032, allocations: 71.33 kB / 280.6 MB, free: 9.496 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.063e-05/0.01036, allocations: 12.48 kB / 280.6 MB, free: 9.484 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.48e-05/0.0104, allocations: 16.5 kB / 280.7 MB, free: 9.469 MB / 266.7 MB Notification: Performance of SimCode: time 1.042e-06/0.0104, allocations: 0 / 280.7 MB, free: 9.469 MB / 266.7 MB Notification: Performance of Templates: time 0.003441/0.01384, allocations: 1.232 MB / 281.9 MB, free: 8.266 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",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.8906422862783074]