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.001686/0.001686, allocations: 107.1 kB / 20.44 MB, free: 1.355 MB / 14.72 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.002647/0.002647, allocations: 212.7 kB / 23.73 MB, free: 4.531 MB / 14.72 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 1.481/1.481, allocations: 230.6 MB / 257.5 MB, free: 7.809 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+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 0.001622/0.001622, allocations: 47.92 kB / 378.2 MB, free: 2.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.274, allocations: 53.36 MB / 431.6 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.005753/0.2797, allocations: 1.948 MB / 433.5 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002162/0.2819, allocations: 0.639 MB / 434.1 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000145/0.282, allocations: 7.938 kB / 434.1 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001887/0.2822, allocations: 19.78 kB / 434.2 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001796/0.2824, allocations: 43.64 kB / 434.2 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004718/0.2829, allocations: 47.86 kB / 434.3 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003846/0.2832, allocations: 143.3 kB / 434.4 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002406/0.2835, allocations: 29.28 kB / 434.4 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002166/0.2837, allocations: 55.73 kB / 434.5 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.2839, allocations: 55.77 kB / 434.5 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.438e-05/0.2839, allocations: 12 kB / 434.5 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.284, allocations: 27.98 kB / 434.6 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.834e-05/0.2841, allocations: 31.84 kB / 434.6 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.2842, allocations: 47.8 kB / 434.7 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004292/0.2846, allocations: 157.6 kB / 434.8 MB, free: 3.488 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.2846, allocations: 0 / 434.8 MB, free: 3.488 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2846, allocations: 0 / 434.8 MB, free: 3.488 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.669e-06/0.2847, allocations: 0 / 434.8 MB, free: 3.488 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.001164/0.2858, allocations: 369.7 kB / 435.2 MB, free: 3.098 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.2859, allocations: 8.031 kB / 435.2 MB, free: 3.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003427/0.2862, allocations: 24.88 kB / 435.2 MB, free: 3.066 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004271/0.2866, allocations: 142.3 kB / 435.3 MB, free: 2.902 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.2867, allocations: 12.31 kB / 435.4 MB, free: 2.891 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.222e-05/0.2867, allocations: 12.38 kB / 435.4 MB, free: 2.879 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004886/0.2872, allocations: 113.6 kB / 435.5 MB, free: 2.762 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.84e-05/0.2872, allocations: 4 kB / 435.5 MB, free: 2.758 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/0.2873, allocations: 7.984 kB / 435.5 MB, free: 2.75 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.2873, allocations: 4 kB / 435.5 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005086/0.2878, allocations: 91.92 kB / 435.6 MB, free: 2.656 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001435/0.2892, allocations: 415 kB / 436 MB, free: 2.215 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005349/0.2897, allocations: 102.5 kB / 436.1 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002142/0.29, allocations: 44.78 kB / 436.1 MB, free: 2.059 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.29, allocations: 0 / 436.1 MB, free: 2.059 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.439e-05/0.29, allocations: 42.48 kB / 436.2 MB, free: 2.008 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.663e-06/0.29, allocations: 0 / 436.2 MB, free: 2.008 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007977/0.2908, allocations: 145.7 kB / 436.3 MB, free: 1.859 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/0.2909, allocations: 51.41 kB / 436.4 MB, free: 1.797 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.2911, allocations: 140.6 kB / 436.5 MB, free: 1.652 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/0.2911, allocations: 29.7 kB / 436.5 MB, free: 1.617 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.2913, allocations: 116.2 kB / 436.6 MB, free: 1.496 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.695e-05/0.2913, allocations: 35.72 kB / 436.7 MB, free: 1.461 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.634e-05/0.2914, allocations: 25.72 kB / 436.7 MB, free: 1.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.2916, allocations: 322.8 kB / 437 MB, free: 1.105 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002033/0.2918, allocations: 47.91 kB / 437.1 MB, free: 1.059 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002449/0.2921, allocations: 63.41 kB / 437.1 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004649/0.2925, allocations: 107.3 kB / 437.2 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.227e-06/0.2925, allocations: 0 / 437.2 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006108/0.2931, allocations: 145.4 kB / 437.4 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.2932, allocations: 8 kB / 437.4 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.2932, allocations: 12.06 kB / 437.4 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.2932, allocations: 0 / 437.4 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000303/0.2935, allocations: 39.92 kB / 437.4 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.2935, allocations: 0 / 437.4 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.2937, allocations: 11.92 kB / 437.4 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.2937, allocations: 11.94 kB / 437.5 MB, free: 0.6367 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.0001537/0.2939, allocations: 117.8 kB / 437.6 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.322e-05/0.2939, allocations: 15.84 kB / 437.6 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.762e-05/0.294, allocations: 12.72 kB / 437.6 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.294, allocations: 8 kB / 437.6 MB, free: 484 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.294, allocations: 0 / 437.6 MB, free: 484 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.294, allocations: 3.984 kB / 437.6 MB, free: 480 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003183/0.2943, allocations: 141.2 kB / 437.7 MB, free: 308 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.2943, allocations: 0 / 437.7 MB, free: 308 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003498/0.2947, allocations: 32.3 kB / 437.8 MB, free: 276 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.518e-06/0.2947, allocations: 3.938 kB / 437.8 MB, free: 272 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.44e-05/0.2947, allocations: 4 kB / 437.8 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.603e-06/0.2947, allocations: 4 kB / 437.8 MB, free: 264 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2947, allocations: 3.938 kB / 437.8 MB, free: 260 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008869/0.2956, allocations: 255.4 kB / 438 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.866e-05/0.2956, allocations: 19.84 kB / 438.1 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.785e-05/0.2957, allocations: 3.938 kB / 438.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.2959, allocations: 8.031 kB / 438.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.595e-05/0.296, allocations: 7.984 kB / 438.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.296, allocations: 8 kB / 438.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000127/0.2961, allocations: 98.08 kB / 438.2 MB, free: 15.85 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2961, allocations: 0 / 438.2 MB, free: 15.85 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000511/0.2966, allocations: 28 kB / 438.2 MB, free: 15.82 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.0001765/0.2968, allocations: 99.34 kB / 438.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005828/0.2974, allocations: 95.81 kB / 438.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2974, allocations: 0 / 438.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002394/0.2976, allocations: 39.97 kB / 438.4 MB, free: 15.58 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006063/0.2982, allocations: 22.92 kB / 438.5 MB, free: 15.56 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.2997, allocations: 480.4 kB / 438.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001522/0.2999, allocations: 89.47 kB / 439 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001186/0.3, allocations: 20.28 kB / 439 MB, free: 14.94 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.466e-05/0.3001, allocations: 11.44 kB / 439.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3001, allocations: 3.938 kB / 439.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of Templates: time 0.007934/0.308, allocations: 1.387 MB / 440.4 MB, free: 13.57 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 4.510554636828601]