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.001534/0.001534, 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.002554/0.002554, allocations: 214.7 kB / 23.74 MB, free: 4.656 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.463/1.463, 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.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.001485/0.001485, allocations: 47.92 kB / 377.8 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2722, allocations: 53.36 MB / 431.1 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.00412/0.2763, allocations: 2.013 MB / 433.1 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.2776, allocations: 0.7051 MB / 433.8 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.2777, allocations: 0 / 433.8 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001322/0.2778, allocations: 15.8 kB / 433.9 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.434e-05/0.2779, allocations: 55.61 kB / 433.9 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002623/0.2782, allocations: 47.81 kB / 434 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.2784, allocations: 151.3 kB / 434.1 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.2785, allocations: 17.31 kB / 434.1 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.2786, allocations: 63.7 kB / 434.2 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.2787, allocations: 51.78 kB / 434.2 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.48e-05/0.2788, allocations: 8 kB / 434.2 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.2789, allocations: 27.98 kB / 434.3 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.22e-05/0.2789, allocations: 27.92 kB / 434.3 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.902e-05/0.279, allocations: 59.67 kB / 434.4 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002835/0.2793, allocations: 155.8 kB / 434.5 MB, free: 3.461 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2793, allocations: 4 kB / 434.5 MB, free: 3.457 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2793, allocations: 0 / 434.5 MB, free: 3.457 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.2793, allocations: 0 / 434.5 MB, free: 3.457 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.0007355/0.28, allocations: 361.7 kB / 434.9 MB, free: 3.074 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.432e-05/0.2801, allocations: 16.03 kB / 434.9 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.888e-05/0.2801, allocations: 42.69 kB / 434.9 MB, free: 3.008 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002071/0.2803, allocations: 24.88 kB / 434.9 MB, free: 2.984 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002955/0.2806, allocations: 146.3 kB / 435.1 MB, free: 2.816 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.2806, allocations: 4.375 kB / 435.1 MB, free: 2.812 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.696e-05/0.2807, allocations: 16.12 kB / 435.1 MB, free: 2.797 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003061/0.281, allocations: 121.5 kB / 435.2 MB, free: 2.672 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.281, allocations: 8 kB / 435.2 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.281, allocations: 4 kB / 435.2 MB, free: 2.66 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.281, allocations: 4 kB / 435.2 MB, free: 2.656 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002629/0.2813, allocations: 87.92 kB / 435.3 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009131/0.2822, allocations: 466.4 kB / 435.8 MB, free: 2.066 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003318/0.2825, allocations: 106.5 kB / 435.9 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.2827, allocations: 48.75 kB / 435.9 MB, free: 1.902 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.2827, allocations: 0 / 435.9 MB, free: 1.902 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.2827, allocations: 34.56 kB / 436 MB, free: 1.859 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 8.52e-07/0.2827, allocations: 0 / 436 MB, free: 1.859 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004471/0.2831, allocations: 153.7 kB / 436.1 MB, free: 1.703 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.2832, allocations: 51.41 kB / 436.2 MB, free: 1.641 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.2833, allocations: 129.8 kB / 436.3 MB, free: 1.504 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.2833, allocations: 29.7 kB / 436.3 MB, free: 1.469 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.461e-05/0.2834, allocations: 112.2 kB / 436.4 MB, free: 1.352 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/0.2834, allocations: 43.69 kB / 436.5 MB, free: 1.309 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.9e-05/0.2835, allocations: 25.72 kB / 436.5 MB, free: 1.277 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.2836, allocations: 322.8 kB / 436.8 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.2838, allocations: 35.97 kB / 436.9 MB, free: 0.918 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.2839, allocations: 71.34 kB / 436.9 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002437/0.2842, allocations: 111.3 kB / 437 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2842, allocations: 3.938 kB / 437 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003193/0.2845, allocations: 153.5 kB / 437.2 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.2845, allocations: 4 kB / 437.2 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2845, allocations: 4 kB / 437.2 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.2845, allocations: 0 / 437.2 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.2847, allocations: 31.98 kB / 437.2 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.2847, allocations: 7.938 kB / 437.2 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.923e-05/0.2848, allocations: 11.98 kB / 437.2 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.2848, allocations: 4 kB / 437.3 MB, free: 0.4922 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.0001178/0.2849, allocations: 129.8 kB / 437.4 MB, free: 364 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.158e-05/0.285, allocations: 7.953 kB / 437.4 MB, free: 356 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.725e-05/0.285, allocations: 16.7 kB / 437.4 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.285, allocations: 7.938 kB / 437.4 MB, free: 328 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.285, allocations: 0 / 437.4 MB, free: 328 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.285, allocations: 0 / 437.4 MB, free: 328 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002335/0.2853, allocations: 188.5 kB / 437.6 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2853, allocations: 0 / 437.6 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/0.2854, allocations: 32.34 kB / 437.6 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2854, allocations: 0 / 437.6 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.2854, allocations: 7.938 kB / 437.6 MB, free: 56 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2854, allocations: 0 / 437.6 MB, free: 56 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2854, allocations: 3.938 kB / 437.6 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004968/0.2859, allocations: 263.3 kB / 437.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.726e-05/0.286, allocations: 7.953 kB / 437.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.286, allocations: 4 kB / 437.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.2861, allocations: 8 kB / 437.9 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.2862, allocations: 7.984 kB / 437.9 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.2862, allocations: 0 / 437.9 MB, free: 15.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.86e-05/0.2862, allocations: 109.6 kB / 438 MB, free: 15.64 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2862, allocations: 0 / 438 MB, free: 15.64 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002629/0.2865, allocations: 31.95 kB / 438.1 MB, free: 15.61 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.0007985/0.2873, allocations: 0.7943 MB / 438.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000328/0.2876, allocations: 87.89 kB / 438.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2876, allocations: 0 / 438.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.2878, allocations: 48.09 kB / 439 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003713/0.2882, allocations: 20.3 kB / 439 MB, free: 14.64 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002711/0.2909, allocations: 1.885 MB / 440.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.2913, allocations: 0.7086 MB / 441.6 MB, free: 11.92 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.536e-05/0.2914, allocations: 12.36 kB / 441.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.374e-05/0.2914, allocations: 35.42 kB / 441.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of SimCode: time 7.71e-07/0.2914, allocations: 0 / 441.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03083/0.3223, allocations: 2.881 MB / 444.5 MB, free: 9.137 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.1, allocations: 14.72 kB / 444.5 MB, free: 9.129 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.580293694998545]