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.001833/0.001833, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002257/0.002257, allocations: 211 kB / 23.73 MB, free: 4.523 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.465/1.465, 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.001529/0.001529, allocations: 52.06 kB / 377.7 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2529, allocations: 53.37 MB / 431.1 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003572/0.2564, allocations: 1.94 MB / 433 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.2577, allocations: 0.6468 MB / 433.7 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.2578, allocations: 4 kB / 433.7 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000156/0.258, allocations: 15.8 kB / 433.7 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.2581, allocations: 39.64 kB / 433.7 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003034/0.2584, allocations: 55.8 kB / 433.8 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00024/0.2586, allocations: 139.3 kB / 433.9 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.2588, allocations: 29.28 kB / 433.9 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.853e-05/0.2589, allocations: 59.78 kB / 434 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.259, allocations: 55.72 kB / 434 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.259, allocations: 12 kB / 434.1 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.767e-05/0.2591, allocations: 27.98 kB / 434.1 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.871e-05/0.2591, allocations: 23.91 kB / 434.1 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.068e-05/0.2592, allocations: 51.73 kB / 434.2 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002477/0.2594, allocations: 153.1 kB / 434.3 MB, free: 3.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2594, allocations: 0 / 434.3 MB, free: 3.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2594, allocations: 4 kB / 434.3 MB, free: 3.516 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.2594, allocations: 0 / 434.3 MB, free: 3.516 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.0006474/0.2601, allocations: 361.7 kB / 434.7 MB, free: 3.133 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.2601, allocations: 8.031 kB / 434.7 MB, free: 3.125 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.905e-05/0.2602, allocations: 50.67 kB / 434.7 MB, free: 3.066 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001787/0.2603, allocations: 24.88 kB / 434.7 MB, free: 3.043 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/0.2606, allocations: 142.4 kB / 434.9 MB, free: 2.879 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.2606, allocations: 4.375 kB / 434.9 MB, free: 2.875 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.898e-05/0.2607, allocations: 20.06 kB / 434.9 MB, free: 2.855 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003/0.261, allocations: 125.6 kB / 435 MB, free: 2.727 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.261, allocations: 0 / 435 MB, free: 2.727 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.261, allocations: 4 kB / 435 MB, free: 2.723 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.261, allocations: 4 kB / 435 MB, free: 2.719 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002693/0.2613, allocations: 83.94 kB / 435.1 MB, free: 2.637 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00089/0.2622, allocations: 450.5 kB / 435.6 MB, free: 2.148 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003611/0.2625, allocations: 110.4 kB / 435.7 MB, free: 2.031 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/0.2627, allocations: 48.81 kB / 435.7 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.2627, allocations: 0 / 435.7 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.2627, allocations: 30.56 kB / 435.7 MB, free: 1.941 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 9.11e-07/0.2627, allocations: 0 / 435.7 MB, free: 1.941 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004572/0.2632, allocations: 153.7 kB / 435.9 MB, free: 1.785 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.2632, allocations: 55.41 kB / 436 MB, free: 1.719 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.2633, allocations: 129.8 kB / 436.1 MB, free: 1.582 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.2633, allocations: 29.7 kB / 436.1 MB, free: 1.547 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.993e-05/0.2634, allocations: 116.1 kB / 436.2 MB, free: 1.426 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.767e-05/0.2635, allocations: 35.72 kB / 436.3 MB, free: 1.391 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.376e-05/0.2635, allocations: 29.7 kB / 436.3 MB, free: 1.355 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.2637, allocations: 318.8 kB / 436.6 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.2638, allocations: 39.97 kB / 436.6 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.2639, allocations: 75.34 kB / 436.7 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/0.2642, allocations: 107.3 kB / 436.8 MB, free: 0.793 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2642, allocations: 0 / 436.8 MB, free: 0.793 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003341/0.2645, allocations: 157.4 kB / 437 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.2645, allocations: 6.656 kB / 437 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.2646, allocations: 4 kB / 437 MB, free: 0.625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.2646, allocations: 0 / 437 MB, free: 0.625 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.2647, allocations: 27.98 kB / 437 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.615e-05/0.2647, allocations: 15.91 kB / 437 MB, free: 0.582 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.53e-05/0.2648, allocations: 4 kB / 437 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.2648, allocations: 8 kB / 437 MB, free: 0.5703 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.000112/0.2649, allocations: 117.8 kB / 437.1 MB, free: 456 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.659e-05/0.265, allocations: 19.97 kB / 437.2 MB, free: 436 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.884e-05/0.265, allocations: 16.7 kB / 437.2 MB, free: 416 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.265, allocations: 0 / 437.2 MB, free: 416 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/0.265, allocations: 4 kB / 437.2 MB, free: 412 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2651, allocations: 0 / 437.2 MB, free: 412 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/0.2653, allocations: 177 kB / 437.4 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2653, allocations: 0 / 437.4 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/0.2654, allocations: 27.98 kB / 437.4 MB, free: 164 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.2655, allocations: 3.938 kB / 437.4 MB, free: 160 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.2655, allocations: 7.938 kB / 437.4 MB, free: 152 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.2655, allocations: 4 kB / 437.4 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2655, allocations: 0 / 437.4 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004853/0.266, allocations: 263.3 kB / 437.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.22e-05/0.266, allocations: 11.91 kB / 437.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.266, allocations: 4 kB / 437.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.2661, allocations: 8.031 kB / 437.7 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.363e-05/0.2661, allocations: 7.984 kB / 437.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.2662, allocations: 4 kB / 437.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.531e-05/0.2662, allocations: 107.3 kB / 437.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2662, allocations: 0 / 437.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000265/0.2665, allocations: 31.94 kB / 437.8 MB, free: 15.7 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.0007601/0.2673, allocations: 0.7903 MB / 438.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003171/0.2676, allocations: 92.05 kB / 438.7 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2676, allocations: 4.062 kB / 438.7 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.2677, allocations: 43.92 kB / 438.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.268, allocations: 20.3 kB / 438.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002415/0.2705, allocations: 1.889 MB / 440.7 MB, free: 12.74 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.442e-05/0.2705, allocations: 93.67 kB / 440.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.969e-05/0.2706, allocations: 12.48 kB / 440.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.702e-05/0.2707, allocations: 39.42 kB / 440.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2707, allocations: 0 / 440.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03149/0.3022, allocations: 3.367 MB / 444.2 MB, free: 9.363 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.26, allocations: 10.27 kB / 444.2 MB, free: 9.359 MB / 350.1 MB " [Timeout remaining time 649] (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.762643741996726]