Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.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.0007991/0.0007991, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001077/0.001877, allocations: 457.8 kB / 10.45 MB, free: 244 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.0006899/0.0006899, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009485/0.001638, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.9471/0.9471, allocations: 177.5 MB / 190 MB, free: 4.797 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09091/1.038, allocations: 53.87 MB / 243.9 MB, free: 14.86 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.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentTorque.lossPower|inertia.phi|heatCapacitor.T",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.3e-05/1.475e-05, allocations: 2.312 kB / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003093/0.003107, allocations: 2.071 MB / 247.3 MB, free: 11.49 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.00414, allocations: 0.6893 MB / 248 MB, free: 10.8 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.793e-05/0.004228, allocations: 3.938 kB / 248 MB, free: 10.8 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.213e-05/0.00431, allocations: 27.77 kB / 248 MB, free: 10.77 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.579e-05/0.004406, allocations: 43.64 kB / 248 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001529/0.004559, allocations: 55.73 kB / 248.1 MB, free: 10.67 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000181/0.00474, allocations: 147.3 kB / 248.2 MB, free: 10.53 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.004843, allocations: 29.95 kB / 248.3 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.004992, allocations: 91.73 kB / 248.3 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.005092, allocations: 51.81 kB / 248.4 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.005115, allocations: 8 kB / 248.4 MB, free: 10.35 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.672e-05/0.005212, allocations: 27.98 kB / 248.4 MB, free: 10.32 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.483e-05/0.005237, allocations: 15.94 kB / 248.5 MB, free: 10.31 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.503e-05/0.005282, allocations: 35.94 kB / 248.5 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.005503, allocations: 111.5 kB / 248.6 MB, free: 10.16 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.119e-05/0.005514, allocations: 0 / 248.6 MB, free: 10.16 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.005515, allocations: 0 / 248.6 MB, free: 10.16 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.789e-06/0.005525, allocations: 0 / 248.6 MB, free: 10.16 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.0005423/0.006067, allocations: 363.9 kB / 248.9 MB, free: 9.785 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.006097, allocations: 8.031 kB / 249 MB, free: 9.777 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002237/0.00632, allocations: 118 kB / 249.1 MB, free: 9.645 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.006498, allocations: 141 kB / 249.2 MB, free: 9.484 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.006511, allocations: 8.375 kB / 249.2 MB, free: 9.477 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.006538, allocations: 8.375 kB / 249.2 MB, free: 9.469 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.006708, allocations: 95.55 kB / 249.3 MB, free: 9.367 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.006723, allocations: 8.141 kB / 249.3 MB, free: 9.359 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.006737, allocations: 7.938 kB / 249.3 MB, free: 9.352 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.006743, allocations: 0 / 249.3 MB, free: 9.352 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.883e-05/0.006822, allocations: 35.86 kB / 249.4 MB, free: 9.316 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005982/0.00742, allocations: 334.9 kB / 249.7 MB, free: 8.969 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.007606, allocations: 70.53 kB / 249.8 MB, free: 8.891 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.336e-05/0.007639, allocations: 20.84 kB / 249.8 MB, free: 8.867 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.00765, allocations: 0 / 249.8 MB, free: 8.867 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.007676, allocations: 34.56 kB / 249.8 MB, free: 8.824 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.007677, allocations: 0 / 249.8 MB, free: 8.824 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001634/0.00784, allocations: 70.08 kB / 249.9 MB, free: 8.75 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.007876, allocations: 59.41 kB / 249.9 MB, free: 8.68 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.994e-05/0.007965, allocations: 138.6 kB / 250.1 MB, free: 8.531 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.007979, allocations: 25.7 kB / 250.1 MB, free: 8.5 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.492e-05/0.008034, allocations: 112.2 kB / 250.2 MB, free: 8.383 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.008066, allocations: 39.67 kB / 250.3 MB, free: 8.344 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.655e-05/0.008112, allocations: 25.7 kB / 250.3 MB, free: 8.312 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.415e-05/0.008206, allocations: 326.8 kB / 250.6 MB, free: 7.984 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.631e-05/0.008233, allocations: 8 kB / 250.6 MB, free: 7.977 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.825e-05/0.008281, allocations: 47.22 kB / 250.7 MB, free: 7.922 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.455e-05/0.008366, allocations: 63.31 kB / 250.7 MB, free: 7.848 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.008368, allocations: 0 / 250.7 MB, free: 7.848 MB / 250.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001266/0.008494, allocations: 81.59 kB / 250.8 MB, free: 7.762 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.008511, allocations: 11.28 kB / 250.8 MB, free: 7.754 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.008515, allocations: 0 / 250.8 MB, free: 7.754 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.008529, allocations: 0 / 250.8 MB, free: 7.754 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.008715, allocations: 43.86 kB / 250.8 MB, free: 7.711 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.008719, allocations: 0 / 250.8 MB, free: 7.711 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.333e-05/0.008792, allocations: 16.02 kB / 250.9 MB, free: 7.695 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.0088, allocations: 8 kB / 250.9 MB, free: 7.688 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 (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 7.504e-05/0.008875, allocations: 113.8 kB / 251 MB, free: 7.566 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.827e-05/0.008904, allocations: 4 kB / 251 MB, free: 7.562 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.314e-05/0.008937, allocations: 20.77 kB / 251 MB, free: 7.543 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.00894, allocations: 0 / 251 MB, free: 7.543 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.008942, allocations: 7.875 kB / 251 MB, free: 7.535 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.008946, allocations: 0 / 251 MB, free: 7.535 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.009102, allocations: 97.81 kB / 251.1 MB, free: 7.422 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.009103, allocations: 0 / 251.1 MB, free: 7.422 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.00927, allocations: 39.91 kB / 251.2 MB, free: 7.383 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.443e-05/0.009285, allocations: 7.953 kB / 251.2 MB, free: 7.375 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.009288, allocations: 0 / 251.2 MB, free: 7.375 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.0093, allocations: 4 kB / 251.2 MB, free: 7.371 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.009305, allocations: 3.938 kB / 251.2 MB, free: 7.367 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.009306, allocations: 0 / 251.2 MB, free: 7.367 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001875/0.009494, allocations: 183.5 kB / 251.3 MB, free: 7.172 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.009513, allocations: 8 kB / 251.4 MB, free: 7.164 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.451e-05/0.009597, allocations: 3.984 kB / 251.4 MB, free: 7.16 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.51e-05/0.009632, allocations: 11.92 kB / 251.4 MB, free: 7.148 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.009638, allocations: 4 kB / 251.4 MB, free: 7.145 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.547e-05/0.009673, allocations: 28.83 kB / 251.4 MB, free: 7.113 MB / 250.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.009673, allocations: 0 / 251.4 MB, free: 7.113 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002333/0.009907, allocations: 35.89 kB / 251.4 MB, free: 7.078 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 (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 8.704e-05/0.009994, allocations: 80.42 kB / 251.5 MB, free: 6.992 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001105/0.0101, allocations: 48.72 kB / 251.6 MB, free: 6.941 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.01011, allocations: 0 / 251.6 MB, free: 6.941 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.429e-05/0.01016, allocations: 32.84 kB / 251.6 MB, free: 6.906 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.0105, allocations: 245.9 kB / 251.8 MB, free: 6.617 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003314/0.01381, allocations: 336.7 kB / 252.2 MB, free: 6.258 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.499e-05/0.01386, allocations: 71.33 kB / 252.2 MB, free: 6.168 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.634e-05/0.01391, allocations: 4.984 kB / 252.2 MB, free: 6.16 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.544e-05/0.01401, allocations: 75.36 kB / 252.3 MB, free: 6.086 MB / 250.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01401, allocations: 0 / 252.3 MB, free: 6.086 MB / 250.7 MB Notification: Performance of Templates: time 0.003584/0.01759, allocations: 1.409 MB / 253.7 MB, free: 4.711 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4253741139546037]