Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 119.9 kB / 17.74 MB, free: 5.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 185.3 kB / 20.68 MB, free: 2.414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 246.4 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001724, allocations: 55.89 kB / 357.5 MB, free: 8.84 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1407, allocations: 49.43 MB / 406.9 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002882/0.1437, allocations: 1.76 MB / 408.7 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.1447, allocations: 0.6466 MB / 409.3 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.061e-05/0.1448, allocations: 4 kB / 409.3 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.1449, allocations: 11.86 kB / 409.3 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.031e-05/0.145, allocations: 31.7 kB / 409.4 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002227/0.1452, allocations: 51.81 kB / 409.4 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.1454, allocations: 123.4 kB / 409.5 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.1456, allocations: 31.97 kB / 409.6 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.04e-05/0.1456, allocations: 47.8 kB / 409.6 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.855e-05/0.1457, allocations: 43.84 kB / 409.7 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.1458, allocations: 8 kB / 409.7 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.234e-05/0.1459, allocations: 23.98 kB / 409.7 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.421e-05/0.1459, allocations: 19.92 kB / 409.7 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.219e-05/0.146, allocations: 51.73 kB / 409.8 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.1462, allocations: 131.8 kB / 409.9 MB, free: 4.367 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1462, allocations: 0 / 409.9 MB, free: 4.367 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1462, allocations: 0 / 409.9 MB, free: 4.367 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.1462, allocations: 0 / 409.9 MB, free: 4.367 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006005/0.1468, allocations: 415.1 kB / 410.3 MB, free: 3.914 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.1469, allocations: 8.031 kB / 410.3 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.381e-05/0.147, allocations: 42.69 kB / 410.3 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001836/0.1471, allocations: 28.86 kB / 410.4 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.1474, allocations: 188.2 kB / 410.6 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.1474, allocations: 8.562 kB / 410.6 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.836e-05/0.1475, allocations: 20.08 kB / 410.6 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/0.1477, allocations: 98.89 kB / 410.7 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.1477, allocations: 0 / 410.7 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.1477, allocations: 11.98 kB / 410.7 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.1478, allocations: 0 / 410.7 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.1479, allocations: 59.91 kB / 410.8 MB, free: 3.406 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007731/0.1487, allocations: 477.3 kB / 411.2 MB, free: 2.879 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002572/0.1489, allocations: 86.58 kB / 411.3 MB, free: 2.785 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.078e-05/0.149, allocations: 32.83 kB / 411.3 MB, free: 2.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.149, allocations: 0 / 411.3 MB, free: 2.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.1491, allocations: 34.56 kB / 411.4 MB, free: 2.707 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 8.82e-07/0.1491, allocations: 0 / 411.4 MB, free: 2.707 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002391/0.1493, allocations: 89.69 kB / 411.5 MB, free: 2.613 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.1494, allocations: 59.34 kB / 411.5 MB, free: 2.543 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.1495, allocations: 129.7 kB / 411.6 MB, free: 2.406 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.1495, allocations: 29.64 kB / 411.7 MB, free: 2.371 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.862e-05/0.1496, allocations: 104 kB / 411.8 MB, free: 2.266 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.422e-05/0.1496, allocations: 35.89 kB / 411.8 MB, free: 2.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.022e-05/0.1497, allocations: 29.7 kB / 411.8 MB, free: 2.195 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.1499, allocations: 322.8 kB / 412.2 MB, free: 1.871 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.861e-05/0.1499, allocations: 23.94 kB / 412.2 MB, free: 1.848 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.376e-05/0.15, allocations: 55.42 kB / 412.2 MB, free: 1.781 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.1501, allocations: 79.36 kB / 412.3 MB, free: 1.691 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1501, allocations: 0 / 412.3 MB, free: 1.691 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001759/0.1503, allocations: 117.5 kB / 412.4 MB, free: 1.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.1503, allocations: 10.19 kB / 412.4 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1503, allocations: 0 / 412.4 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1504, allocations: 0 / 412.4 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.1505, allocations: 31.92 kB / 412.5 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.1505, allocations: 0 / 412.5 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.401e-05/0.1506, allocations: 11.89 kB / 412.5 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.1506, allocations: 4 kB / 412.5 MB, free: 1.516 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 (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 prepare postOptimizeDAE: time 9.78e-05/0.1507, allocations: 121.8 kB / 412.6 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.898e-05/0.1507, allocations: 12.05 kB / 412.6 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.924e-05/0.1508, allocations: 16.36 kB / 412.6 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.1508, allocations: 3.938 kB / 412.6 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1508, allocations: 0 / 412.6 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1508, allocations: 0 / 412.6 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002477/0.151, allocations: 193.6 kB / 412.8 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1511, allocations: 0 / 412.8 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.1512, allocations: 19.98 kB / 412.8 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.1512, allocations: 0 / 412.8 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.1512, allocations: 4 kB / 412.8 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1512, allocations: 3.938 kB / 412.8 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1512, allocations: 4.312 kB / 412.8 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002553/0.1515, allocations: 211.4 kB / 413.1 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.303e-05/0.1516, allocations: 89.09 kB / 413.1 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.1516, allocations: 0 / 413.1 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.506e-05/0.1517, allocations: 7.938 kB / 413.1 MB, free: 0.75 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.203e-05/0.1517, allocations: 7.938 kB / 413.2 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.1517, allocations: 0 / 413.2 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.115e-05/0.1518, allocations: 99.27 kB / 413.3 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1518, allocations: 0 / 413.3 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000242/0.152, allocations: 31.89 kB / 413.3 MB, free: 0.6133 MB / 334.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 (8): * Single equations (assignments): 8 * 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.0005589/0.1526, allocations: 0.7358 MB / 414 MB, free: 15.85 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001568/0.1527, allocations: 68.08 kB / 414.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1528, allocations: 0 / 414.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.154e-05/0.1528, allocations: 20 kB / 414.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.1531, allocations: 36.31 kB / 414.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001951/0.1551, allocations: 1.71 MB / 415.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.1555, allocations: 0.7002 MB / 416.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.044e-05/0.1555, allocations: 8.438 kB / 416.6 MB, free: 13.19 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.296e-05/0.1556, allocations: 27.42 kB / 416.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1556, allocations: 0 / 416.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02273/0.1783, allocations: 2.286 MB / 418.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.652/7.831, allocations: 10.61 kB / 418.9 MB, free: 10.98 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake.fmu > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable inertia.phi in file Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv. Warning: Get data of variable inertia.phi from file Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv failed! Error: Could not read variable eddyCurrentTorque.lossPower in file Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv. Warning: Get data of variable eddyCurrentTorque.lossPower from file Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.43361916707363]