Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.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.00133/0.00133, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001502/0.001502, allocations: 210.7 kB / 23.74 MB, free: 4.66 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.488/1.488, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 47.92 kB / 377.8 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2883, allocations: 53.36 MB / 431.1 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003645/0.2919, allocations: 2.034 MB / 433.2 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.2933, allocations: 0.7052 MB / 433.9 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.2934, allocations: 7.938 kB / 433.9 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001545/0.2936, allocations: 19.8 kB / 433.9 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.2937, allocations: 35.64 kB / 433.9 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.294, allocations: 63.8 kB / 434 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002379/0.2942, allocations: 143.3 kB / 434.1 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.2943, allocations: 21.31 kB / 434.1 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.2945, allocations: 63.7 kB / 434.2 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.2946, allocations: 59.77 kB / 434.3 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.2946, allocations: 11.94 kB / 434.3 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.753e-05/0.2947, allocations: 24 kB / 434.3 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.425e-05/0.2947, allocations: 27.91 kB / 434.3 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.886e-05/0.2948, allocations: 59.73 kB / 434.4 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.2951, allocations: 157.1 kB / 434.5 MB, free: 3.445 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2951, allocations: 3.938 kB / 434.5 MB, free: 3.441 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2951, allocations: 0 / 434.5 MB, free: 3.441 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.2951, allocations: 3.984 kB / 434.5 MB, free: 3.438 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.0007357/0.2958, allocations: 361.7 kB / 434.9 MB, free: 3.055 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.2959, allocations: 8.031 kB / 434.9 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.498e-05/0.2959, allocations: 46.73 kB / 435 MB, free: 2.992 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001891/0.2961, allocations: 32.83 kB / 435 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.2964, allocations: 146.3 kB / 435.1 MB, free: 2.793 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.2964, allocations: 4.375 kB / 435.1 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.171e-05/0.2965, allocations: 16.12 kB / 435.1 MB, free: 2.773 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000299/0.2968, allocations: 113.6 kB / 435.3 MB, free: 2.656 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.2968, allocations: 7.891 kB / 435.3 MB, free: 2.648 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.2968, allocations: 4 kB / 435.3 MB, free: 2.645 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.2968, allocations: 4 kB / 435.3 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000288/0.2971, allocations: 95.92 kB / 435.4 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009051/0.298, allocations: 450.5 kB / 435.8 MB, free: 2.059 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003913/0.2984, allocations: 126.5 kB / 435.9 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.2985, allocations: 40.84 kB / 436 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.2985, allocations: 7.984 kB / 436 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.2986, allocations: 34.5 kB / 436 MB, free: 1.832 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.333e-06/0.2986, allocations: 0 / 436 MB, free: 1.832 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001098/0.2997, allocations: 412.8 kB / 436.4 MB, free: 1.398 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.664e-05/0.2997, allocations: 51.41 kB / 436.5 MB, free: 1.336 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.2999, allocations: 136.9 kB / 436.6 MB, free: 1.191 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.2999, allocations: 29.7 kB / 436.6 MB, free: 1.156 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.57e-05/0.3, allocations: 124.2 kB / 436.8 MB, free: 1.031 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.284e-05/0.3001, allocations: 47.58 kB / 436.8 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.949e-05/0.3001, allocations: 33.67 kB / 436.8 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.3003, allocations: 318.8 kB / 437.1 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.3005, allocations: 47.88 kB / 437.2 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.3006, allocations: 89.67 kB / 437.3 MB, free: 492 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002698/0.3009, allocations: 115.4 kB / 437.4 MB, free: 364 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3009, allocations: 3.938 kB / 437.4 MB, free: 360 kB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003515/0.3012, allocations: 169.5 kB / 437.6 MB, free: 184 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.3013, allocations: 4 kB / 437.6 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.3013, allocations: 4 kB / 437.6 MB, free: 176 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.3013, allocations: 0 / 437.6 MB, free: 176 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.3015, allocations: 35.97 kB / 437.6 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.3015, allocations: 7.938 kB / 437.6 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.631e-05/0.3016, allocations: 12 kB / 437.6 MB, free: 120 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.3016, allocations: 4 kB / 437.6 MB, free: 116 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 (18): * Single equations (assignments): 18 * 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.0001389/0.3017, allocations: 129.9 kB / 437.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.74e-05/0.3018, allocations: 11.89 kB / 437.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.698e-05/0.3018, allocations: 20.78 kB / 437.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3018, allocations: 0 / 437.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.3018, allocations: 0 / 437.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3018, allocations: 0 / 437.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007249/0.3026, allocations: 455.1 kB / 438.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3026, allocations: 4 kB / 438.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001912/0.3028, allocations: 31.97 kB / 438.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3028, allocations: 4 kB / 438.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.3028, allocations: 4 kB / 438.3 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.226e-06/0.3028, allocations: 4 kB / 438.3 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3028, allocations: 0 / 438.3 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005203/0.3033, allocations: 305 kB / 438.6 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.675e-05/0.3033, allocations: 7.953 kB / 438.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.3033, allocations: 4 kB / 438.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.3035, allocations: 8.031 kB / 438.6 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.486e-05/0.3035, allocations: 15.98 kB / 438.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.3035, allocations: 4 kB / 438.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.323e-05/0.3036, allocations: 111.2 kB / 438.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3036, allocations: 0 / 438.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.3039, allocations: 31.94 kB / 438.8 MB, free: 14.9 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mass.s,mass.v,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 (13): * Single equations (assignments): 13 * 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.0008511/0.3047, allocations: 0.8381 MB / 439.6 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003421/0.3051, allocations: 107.9 kB / 439.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3051, allocations: 3.938 kB / 439.7 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.3052, allocations: 56.03 kB / 439.8 MB, free: 13.87 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/0.3056, allocations: 26.33 kB / 439.8 MB, free: 13.85 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00274/0.3083, allocations: 1.997 MB / 441.8 MB, free: 11.74 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003815/0.3087, allocations: 0.7119 MB / 442.5 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.706e-05/0.3088, allocations: 8.656 kB / 442.5 MB, free: 10.99 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.636e-05/0.3089, allocations: 43.36 kB / 442.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3089, allocations: 0 / 442.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0326/0.3415, allocations: 3.211 MB / 445.7 MB, free: 7.879 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.2, allocations: 4 kB / 445.8 MB, free: 7.875 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Mechanics.Translational.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_Translational_Examples_EddyCurrentBrake.fmu > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.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.Translational.Examples.EddyCurrentBrake_res.csv. Warning: Get data of variable Time from file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.csv failed! Error: Could not read variable eddyCurrentForce.lossPower in file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.csv. Warning: Get data of variable eddyCurrentForce.lossPower from file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.791545348998625]