Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.006254/0.006254, allocations: 107.9 kB / 21.97 MB, free: 5.184 MB / 14.72 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.001555/0.001555, allocations: 218.2 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.474/1.474, allocations: 230.6 MB / 259 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002243/0.002243, allocations: 60.78 kB / 379.8 MB, free: 2.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2745, allocations: 53.36 MB / 433.1 MB, free: 6.98 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003994/0.2785, allocations: 2.025 MB / 435.2 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0014/0.2799, allocations: 0.7012 MB / 435.9 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001428/0.28, allocations: 0 / 435.9 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001522/0.2802, allocations: 19.8 kB / 435.9 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.2803, allocations: 43.62 kB / 435.9 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003165/0.2806, allocations: 59.78 kB / 436 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002521/0.2809, allocations: 143.3 kB / 436.1 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.281, allocations: 25.3 kB / 436.2 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.2811, allocations: 55.73 kB / 436.2 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.2813, allocations: 59.75 kB / 436.3 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.2813, allocations: 8 kB / 436.3 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.2814, allocations: 27.98 kB / 436.3 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.087e-05/0.2814, allocations: 23.92 kB / 436.3 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.425e-05/0.2815, allocations: 59.67 kB / 436.4 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002946/0.2818, allocations: 152.6 kB / 436.5 MB, free: 3.582 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.2818, allocations: 4 kB / 436.5 MB, free: 3.578 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2818, allocations: 3.938 kB / 436.5 MB, free: 3.574 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.2818, allocations: 0 / 436.5 MB, free: 3.574 MB / 334.1 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.000745/0.2826, allocations: 361.7 kB / 436.9 MB, free: 3.191 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.2826, allocations: 8.031 kB / 436.9 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002203/0.2828, allocations: 28.88 kB / 436.9 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.2831, allocations: 146.2 kB / 437.1 MB, free: 2.988 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.2831, allocations: 12.38 kB / 437.1 MB, free: 2.977 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.843e-05/0.2832, allocations: 12.38 kB / 437.1 MB, free: 2.965 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000319/0.2835, allocations: 121.5 kB / 437.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.2835, allocations: 0 / 437.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.2835, allocations: 4 kB / 437.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.2835, allocations: 4 kB / 437.2 MB, free: 2.832 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002755/0.2838, allocations: 91.88 kB / 437.3 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009858/0.2848, allocations: 478.4 kB / 437.8 MB, free: 2.227 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003763/0.2852, allocations: 94.61 kB / 437.9 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/0.2853, allocations: 45.03 kB / 437.9 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.2853, allocations: 7.875 kB / 437.9 MB, free: 2.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.2854, allocations: 34.55 kB / 438 MB, free: 2.027 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.2854, allocations: 0 / 438 MB, free: 2.027 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004888/0.2858, allocations: 145.5 kB / 438.1 MB, free: 1.879 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.2859, allocations: 55.39 kB / 438.2 MB, free: 1.812 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.286, allocations: 133.8 kB / 438.3 MB, free: 1.672 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.286, allocations: 33.7 kB / 438.3 MB, free: 1.633 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.8e-05/0.2861, allocations: 108.2 kB / 438.4 MB, free: 1.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.602e-05/0.2862, allocations: 35.69 kB / 438.5 MB, free: 1.484 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.619e-05/0.2862, allocations: 25.72 kB / 438.5 MB, free: 1.453 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.2864, allocations: 326.8 kB / 438.8 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.2865, allocations: 39.97 kB / 438.8 MB, free: 1.086 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.2866, allocations: 67.41 kB / 438.9 MB, free: 1.008 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002514/0.2869, allocations: 103.3 kB / 439 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.2869, allocations: 8 kB / 439 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003416/0.2872, allocations: 153.7 kB / 439.2 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.2873, allocations: 8 kB / 439.2 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.2873, allocations: 0 / 439.2 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.2873, allocations: 3.984 kB / 439.2 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.2874, allocations: 31.92 kB / 439.2 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.2874, allocations: 4 kB / 439.2 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.2876, allocations: 19.95 kB / 439.2 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.2876, allocations: 8 kB / 439.2 MB, free: 0.6562 MB / 334.1 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 0.0001178/0.2877, allocations: 121.8 kB / 439.4 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.596e-05/0.2877, allocations: 11.89 kB / 439.4 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.335e-05/0.2878, allocations: 12.72 kB / 439.4 MB, free: 0.5 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.2878, allocations: 4 kB / 439.4 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2878, allocations: 0 / 439.4 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2878, allocations: 0 / 439.4 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002643/0.288, allocations: 196.6 kB / 439.6 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.288, allocations: 0 / 439.6 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/0.2882, allocations: 27.98 kB / 439.6 MB, free: 240 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.2882, allocations: 3.984 kB / 439.6 MB, free: 236 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.2882, allocations: 0 / 439.6 MB, free: 236 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2882, allocations: 0 / 439.6 MB, free: 236 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.2882, allocations: 4 kB / 439.6 MB, free: 232 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005227/0.2888, allocations: 259.3 kB / 439.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.202e-05/0.2888, allocations: 15.89 kB / 439.9 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.2888, allocations: 0 / 439.9 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.2889, allocations: 12.03 kB / 439.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.296e-05/0.289, allocations: 11.92 kB / 439.9 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.289, allocations: 0 / 439.9 MB, free: 15.92 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.859e-05/0.2891, allocations: 105.9 kB / 440 MB, free: 15.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2891, allocations: 0 / 440 MB, free: 15.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002639/0.2893, allocations: 31.95 kB / 440 MB, free: 15.79 MB / 350.1 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 0.0001148/0.2894, allocations: 99.23 kB / 440.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002966/0.2897, allocations: 83.89 kB / 440.2 MB, free: 15.6 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2897, allocations: 0 / 440.2 MB, free: 15.6 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.2899, allocations: 51.94 kB / 440.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/0.2902, allocations: 24.11 kB / 440.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009197/0.2911, allocations: 498.3 kB / 440.8 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003823/0.2915, allocations: 0.7124 MB / 441.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.069e-05/0.2915, allocations: 15.44 kB / 441.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2915, allocations: 4 kB / 441.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of Templates: time 0.004031/0.2956, allocations: 1.559 MB / 443.1 MB, free: 12.7 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.064191782148555]