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.001782/0.001782, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.00208/0.00208, allocations: 199.1 kB / 23.72 MB, free: 4.492 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.457/1.457, allocations: 230.6 MB / 257.5 MB, free: 7.785 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: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 51.92 kB / 377.7 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2605, allocations: 53.37 MB / 431.1 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003614/0.2641, allocations: 1.937 MB / 433 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.2653, allocations: 0.6429 MB / 433.6 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.559e-05/0.2654, allocations: 4 kB / 433.7 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.2655, allocations: 19.78 kB / 433.7 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.102e-05/0.2656, allocations: 39.64 kB / 433.7 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002589/0.2658, allocations: 59.8 kB / 433.8 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001975/0.266, allocations: 143.3 kB / 433.9 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.2662, allocations: 25.3 kB / 433.9 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001593/0.2663, allocations: 51.8 kB / 434 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.2664, allocations: 55.69 kB / 434 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.431e-05/0.2665, allocations: 12 kB / 434.1 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.568e-05/0.2666, allocations: 27.98 kB / 434.1 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.855e-05/0.2666, allocations: 23.86 kB / 434.1 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.596e-05/0.2666, allocations: 51.73 kB / 434.2 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000259/0.2669, allocations: 153.1 kB / 434.3 MB, free: 3.414 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.2669, allocations: 4 kB / 434.3 MB, free: 3.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2669, allocations: 0 / 434.3 MB, free: 3.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.2669, allocations: 0 / 434.3 MB, free: 3.41 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.0006417/0.2676, allocations: 361.7 kB / 434.7 MB, free: 3.027 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.2676, allocations: 12.03 kB / 434.7 MB, free: 3.016 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.517e-05/0.2676, allocations: 42.73 kB / 434.7 MB, free: 2.965 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001831/0.2678, allocations: 24.88 kB / 434.7 MB, free: 2.941 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/0.2681, allocations: 149 kB / 434.9 MB, free: 2.773 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.2681, allocations: 8.375 kB / 434.9 MB, free: 2.766 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.621e-05/0.2681, allocations: 20.06 kB / 434.9 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002911/0.2684, allocations: 117.6 kB / 435 MB, free: 2.625 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.2684, allocations: 0 / 435 MB, free: 2.625 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.2684, allocations: 0 / 435 MB, free: 2.625 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.2685, allocations: 4 kB / 435 MB, free: 2.621 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002794/0.2687, allocations: 95.88 kB / 435.1 MB, free: 2.527 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008892/0.2696, allocations: 446.5 kB / 435.6 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003429/0.27, allocations: 106.5 kB / 435.7 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/0.2701, allocations: 52.94 kB / 435.7 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.2701, allocations: 4 kB / 435.7 MB, free: 1.871 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.2701, allocations: 34.56 kB / 435.8 MB, free: 1.828 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.133e-06/0.2701, allocations: 0 / 435.8 MB, free: 1.828 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004526/0.2706, allocations: 149.5 kB / 435.9 MB, free: 1.676 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.2706, allocations: 51.41 kB / 435.9 MB, free: 1.613 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.2708, allocations: 133.8 kB / 436.1 MB, free: 1.473 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.2708, allocations: 25.7 kB / 436.1 MB, free: 1.441 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.807e-05/0.2709, allocations: 120.1 kB / 436.2 MB, free: 1.316 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.2709, allocations: 31.73 kB / 436.3 MB, free: 1.285 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.124e-05/0.2709, allocations: 29.72 kB / 436.3 MB, free: 1.25 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.2711, allocations: 323.2 kB / 436.6 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.2712, allocations: 35.97 kB / 436.6 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.2714, allocations: 63.41 kB / 436.7 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002511/0.2716, allocations: 115.3 kB / 436.8 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2716, allocations: 3.938 kB / 436.8 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003158/0.2719, allocations: 157.3 kB / 437 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.272, allocations: 4 kB / 437 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.272, allocations: 4 kB / 437 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.272, allocations: 0 / 437 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.2721, allocations: 27.98 kB / 437 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.2721, allocations: 4.094 kB / 437 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.136e-05/0.2722, allocations: 11.98 kB / 437 MB, free: 488 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.2722, allocations: 8 kB / 437 MB, free: 480 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.000101/0.2723, allocations: 121.7 kB / 437.1 MB, free: 348 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.609e-05/0.2724, allocations: 15.91 kB / 437.2 MB, free: 332 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.407e-05/0.2724, allocations: 12.72 kB / 437.2 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.2724, allocations: 3.984 kB / 437.2 MB, free: 312 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.2724, allocations: 4 kB / 437.2 MB, free: 308 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2724, allocations: 0 / 437.2 MB, free: 308 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.2727, allocations: 176.6 kB / 437.3 MB, free: 88 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2727, allocations: 4 kB / 437.4 MB, free: 84 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.2728, allocations: 27.98 kB / 437.4 MB, free: 56 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2728, allocations: 0 / 437.4 MB, free: 56 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.2728, allocations: 0 / 437.4 MB, free: 56 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2728, allocations: 0 / 437.4 MB, free: 56 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2728, allocations: 0 / 437.4 MB, free: 56 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004991/0.2733, allocations: 267.2 kB / 437.6 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.27e-05/0.2734, allocations: 15.91 kB / 437.7 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.2734, allocations: 8 kB / 437.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.2735, allocations: 8.031 kB / 437.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.2735, allocations: 7.938 kB / 437.7 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.2735, allocations: 3.984 kB / 437.7 MB, free: 15.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.342e-05/0.2736, allocations: 105.8 kB / 437.8 MB, free: 15.63 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2736, allocations: 0 / 437.8 MB, free: 15.63 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002787/0.2739, allocations: 31.94 kB / 437.8 MB, free: 15.6 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.0008107/0.2747, allocations: 0.7982 MB / 438.6 MB, free: 14.78 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002846/0.275, allocations: 83.89 kB / 438.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.275, allocations: 0 / 438.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.2751, allocations: 47.91 kB / 438.7 MB, free: 14.65 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.2755, allocations: 22.56 kB / 438.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002516/0.278, allocations: 1.894 MB / 440.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.2781, allocations: 97.67 kB / 440.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.281e-05/0.2782, allocations: 8.484 kB / 440.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.152e-05/0.2782, allocations: 31.44 kB / 440.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2782, allocations: 0 / 440.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03157/0.3098, allocations: 3.326 MB / 444.1 MB, free: 9.309 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.46, allocations: 13.88 kB / 444.1 MB, free: 9.305 MB / 350.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake.fmu > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv. Warning: Get data of variable Time from file Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv failed! Error: Could not read variable eddyCurrentTorque.lossPower in file Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv. Warning: Get data of variable eddyCurrentTorque.lossPower from file Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv failed! Error: Could not read variable inertia.phi in file Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv. Warning: Get data of variable inertia.phi from file Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.920367472805083]