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.001805/0.001805, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002216/0.002216, allocations: 214.6 kB / 23.73 MB, free: 4.164 MB / 14.72 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 1.451/1.451, allocations: 230.5 MB / 257.4 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 59.89 kB / 377.7 MB, free: 2.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2704, allocations: 53.42 MB / 431.1 MB, free: 6.488 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003258/0.2736, allocations: 1.929 MB / 433.1 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.2748, allocations: 0.6468 MB / 433.7 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.451e-05/0.2749, allocations: 0 / 433.7 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001195/0.275, allocations: 19.8 kB / 433.7 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.772e-05/0.2751, allocations: 43.64 kB / 433.8 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002494/0.2753, allocations: 55.73 kB / 433.8 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.2755, allocations: 147.3 kB / 434 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.2756, allocations: 17.3 kB / 434 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.617e-05/0.2757, allocations: 63.7 kB / 434 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.544e-05/0.2758, allocations: 47.78 kB / 434.1 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.125e-05/0.2759, allocations: 8 kB / 434.1 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.988e-05/0.2759, allocations: 27.98 kB / 434.1 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.839e-05/0.276, allocations: 23.92 kB / 434.2 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.322e-05/0.276, allocations: 63.72 kB / 434.2 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002392/0.2763, allocations: 149.1 kB / 434.4 MB, free: 3.246 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2763, allocations: 0 / 434.4 MB, free: 3.246 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2763, allocations: 0 / 434.4 MB, free: 3.246 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.2763, allocations: 0 / 434.4 MB, free: 3.246 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.0006231/0.2769, allocations: 365.7 kB / 434.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.277, allocations: 11.98 kB / 434.7 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.296e-05/0.277, allocations: 42.73 kB / 434.8 MB, free: 2.797 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001826/0.2772, allocations: 28.88 kB / 434.8 MB, free: 2.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.2775, allocations: 150.3 kB / 434.9 MB, free: 2.598 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.2775, allocations: 8.375 kB / 435 MB, free: 2.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.598e-05/0.2775, allocations: 16.12 kB / 435 MB, free: 2.574 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000276/0.2778, allocations: 114.4 kB / 435.1 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.2778, allocations: 0 / 435.1 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.2778, allocations: 8 kB / 435.1 MB, free: 2.449 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.2778, allocations: 0 / 435.1 MB, free: 2.449 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002749/0.2781, allocations: 95.86 kB / 435.2 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008824/0.279, allocations: 446.5 kB / 435.6 MB, free: 1.871 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003161/0.2793, allocations: 102.6 kB / 435.7 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.2794, allocations: 45 kB / 435.8 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.2794, allocations: 3.938 kB / 435.8 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.2795, allocations: 34.56 kB / 435.8 MB, free: 1.668 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.2795, allocations: 0 / 435.8 MB, free: 1.668 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004569/0.2799, allocations: 149.8 kB / 435.9 MB, free: 1.516 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.28, allocations: 55.41 kB / 436 MB, free: 1.449 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.2801, allocations: 129.9 kB / 436.1 MB, free: 1.312 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.2801, allocations: 29.64 kB / 436.2 MB, free: 1.277 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.133e-05/0.2802, allocations: 128.1 kB / 436.3 MB, free: 1.145 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/0.2802, allocations: 31.75 kB / 436.3 MB, free: 1.113 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.312e-05/0.2803, allocations: 29.7 kB / 436.3 MB, free: 1.078 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.2804, allocations: 322.8 kB / 436.7 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.2805, allocations: 31.98 kB / 436.7 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.2807, allocations: 75.33 kB / 436.8 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002493/0.2809, allocations: 107.3 kB / 436.9 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2809, allocations: 0 / 436.9 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003299/0.2813, allocations: 153.4 kB / 437 MB, free: 372 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.2813, allocations: 8 kB / 437 MB, free: 364 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.2813, allocations: 0 / 437 MB, free: 364 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.2813, allocations: 0 / 437 MB, free: 364 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.2815, allocations: 36.06 kB / 437.1 MB, free: 328 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.2815, allocations: 4 kB / 437.1 MB, free: 324 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.2816, allocations: 12 kB / 437.1 MB, free: 312 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.2816, allocations: 4 kB / 437.1 MB, free: 308 kB / 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.0001263/0.2817, allocations: 129.7 kB / 437.2 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-05/0.2818, allocations: 15.89 kB / 437.2 MB, free: 152 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.715e-05/0.2818, allocations: 16.72 kB / 437.2 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.2818, allocations: 0 / 437.2 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2818, allocations: 0 / 437.2 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.2818, allocations: 3.984 kB / 437.2 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002466/0.2821, allocations: 184.6 kB / 437.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2821, allocations: 0 / 437.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/0.2822, allocations: 27.98 kB / 437.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2823, allocations: 0 / 437.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.2823, allocations: 4 kB / 437.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.2823, allocations: 0 / 437.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.2823, allocations: 3.984 kB / 437.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004745/0.2827, allocations: 259.3 kB / 437.7 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.658e-05/0.2828, allocations: 11.91 kB / 437.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.2828, allocations: 4 kB / 437.7 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.2829, allocations: 8.031 kB / 437.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.2829, allocations: 12.02 kB / 437.7 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.2829, allocations: 7.938 kB / 437.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.003e-05/0.283, allocations: 101.8 kB / 437.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.283, allocations: 0 / 437.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000254/0.2833, allocations: 27.94 kB / 437.9 MB, free: 15.43 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.0007789/0.284, allocations: 0.8021 MB / 438.7 MB, free: 14.6 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002796/0.2843, allocations: 87.92 kB / 438.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2843, allocations: 0 / 438.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.2844, allocations: 39.92 kB / 438.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.2848, allocations: 24.16 kB / 438.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002345/0.2871, allocations: 1.878 MB / 440.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.239e-05/0.2872, allocations: 101.3 kB / 440.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.836e-05/0.2873, allocations: 8.484 kB / 440.8 MB, free: 12.35 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.298e-05/0.2873, allocations: 35.42 kB / 440.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.2873, allocations: 3.938 kB / 440.9 MB, free: 12.31 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03193/0.3193, allocations: 3.33 MB / 444.2 MB, free: 9.117 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.59, allocations: 7.922 kB / 444.2 MB, free: 9.113 MB / 350.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake.fmu > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv","/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_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv. Warning: Get data of variable Time from file Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv failed! Error: Could not read variable eddyCurrentTorque.lossPower in file Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv. Warning: Get data of variable eddyCurrentTorque.lossPower from file Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv failed! Error: Could not read variable inertia.phi in file Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv. Warning: Get data of variable inertia.phi from file Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.09585347166285]