Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.001652/0.001652, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001993/0.001993, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.53/1.53, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3232/0.3232, allocations: 46.91 MB / 357.1 MB, free: 10.34 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 67.91 kB / 0.4909 GB, free: 8.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1271, allocations: 65.99 MB / 0.5554 GB, free: 5.898 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005185/0.1323, allocations: 3.528 MB / 0.5588 GB, free: 2.348 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001799/0.1341, allocations: 0.845 MB / 0.5596 GB, free: 1.496 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002046/0.1343, allocations: 8 kB / 0.5596 GB, free: 1.488 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002208/0.1346, allocations: 75.23 kB / 0.5597 GB, free: 1.414 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002901/0.1348, allocations: 130.8 kB / 0.5598 GB, free: 1.285 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003975/0.1352, allocations: 131.8 kB / 0.56 GB, free: 1.156 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006234/0.1359, allocations: 0.5179 MB / 0.5605 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003283/0.1362, allocations: 185.9 kB / 0.5606 GB, free: 460 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002628/0.1365, allocations: 215.3 kB / 0.5608 GB, free: 244 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002854/0.1367, allocations: 235 kB / 0.5611 GB, free: 8 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.147e-05/0.1368, allocations: 48.05 kB / 0.5611 GB, free: 15.96 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.659e-05/0.1369, allocations: 48 kB / 0.5612 GB, free: 15.91 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.416e-05/0.137, allocations: 107.6 kB / 0.5613 GB, free: 15.81 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002316/0.1372, allocations: 254.8 kB / 0.5615 GB, free: 15.56 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007337/0.138, allocations: 0.5602 MB / 0.5621 GB, free: 15 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.138, allocations: 0 / 0.5621 GB, free: 15 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.138, allocations: 0 / 0.5621 GB, free: 15 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.138, allocations: 0 / 0.5621 GB, free: 15 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001414/0.1394, allocations: 0.7715 MB / 0.5628 GB, free: 14.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.1394, allocations: 12.03 kB / 0.5628 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001248/0.1396, allocations: 86.7 kB / 0.5629 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.643e-05/0.1397, allocations: 56.61 kB / 0.563 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000488/0.1401, allocations: 321.5 kB / 0.5633 GB, free: 13.66 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.683e-05/0.1402, allocations: 37.38 kB / 0.5633 GB, free: 13.62 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.415e-05/0.1403, allocations: 40.38 kB / 0.5633 GB, free: 13.58 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008681/0.1411, allocations: 475 kB / 0.5638 GB, free: 13.1 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.1412, allocations: 0 / 0.5638 GB, free: 13.1 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.657e-05/0.1412, allocations: 20 kB / 0.5638 GB, free: 13.08 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.1412, allocations: 12 kB / 0.5638 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007816/0.142, allocations: 319.8 kB / 0.5641 GB, free: 12.76 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002666/0.1447, allocations: 1.678 MB / 0.5658 GB, free: 10.97 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006254/0.1453, allocations: 220.9 kB / 0.566 GB, free: 10.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003651/0.1456, allocations: 137.6 kB / 0.5661 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.082e-05/0.1457, allocations: 0 / 0.5661 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/0.1457, allocations: 34.56 kB / 0.5661 GB, free: 10.55 MB / 430.1 MB Notification: Performance of pre-optimization done (n=26): time 1.443e-06/0.1457, allocations: 3.938 kB / 0.5661 GB, free: 10.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.003357/0.1491, allocations: 1.355 MB / 0.5675 GB, free: 9.078 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.543e-05/0.1491, allocations: 89.22 kB / 0.5676 GB, free: 8.973 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003117/0.1495, allocations: 254.6 kB / 0.5678 GB, free: 8.711 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.425e-05/0.1495, allocations: 37.64 kB / 0.5678 GB, free: 8.668 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/0.1497, allocations: 264.1 kB / 0.5681 GB, free: 8.402 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.1498, allocations: 126.9 kB / 0.5682 GB, free: 8.277 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.1499, allocations: 78.09 kB / 0.5683 GB, free: 8.191 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.1501, allocations: 350.7 kB / 0.5686 GB, free: 7.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000298/0.1504, allocations: 108.8 kB / 0.5687 GB, free: 7.734 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004324/0.1508, allocations: 212.3 kB / 0.5689 GB, free: 7.484 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008118/0.1516, allocations: 333.3 kB / 0.5692 GB, free: 7.117 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.1516, allocations: 4 kB / 0.5692 GB, free: 7.113 MB / 430.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009391/0.1526, allocations: 426.5 kB / 0.5696 GB, free: 6.691 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.1526, allocations: 4 kB / 0.5697 GB, free: 6.688 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.1526, allocations: 4 kB / 0.5697 GB, free: 6.684 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001564/0.1528, allocations: 32.78 kB / 0.5697 GB, free: 6.648 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000502/0.1533, allocations: 123.8 kB / 0.5698 GB, free: 6.527 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001285/0.1546, allocations: 1.439 MB / 0.5712 GB, free: 4.949 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002406/0.1548, allocations: 20.06 kB / 0.5712 GB, free: 4.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/0.1548, allocations: 20 kB / 0.5712 GB, free: 4.91 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002139/0.155, allocations: 173.6 kB / 0.5714 GB, free: 4.73 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.916e-05/0.1551, allocations: 27.81 kB / 0.5714 GB, free: 4.703 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.927e-05/0.1552, allocations: 42.17 kB / 0.5715 GB, free: 4.66 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1552, allocations: 4 kB / 0.5715 GB, free: 4.656 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.1552, allocations: 0 / 0.5715 GB, free: 4.656 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.1552, allocations: 4 kB / 0.5715 GB, free: 4.652 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/0.1564, allocations: 0.7058 MB / 0.5722 GB, free: 3.883 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.1564, allocations: 0 / 0.5722 GB, free: 3.883 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004353/0.1569, allocations: 103.9 kB / 0.5723 GB, free: 3.781 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.309e-05/0.157, allocations: 28.78 kB / 0.5723 GB, free: 3.75 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.157, allocations: 8 kB / 0.5723 GB, free: 3.742 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001282/0.1583, allocations: 1.43 MB / 0.5737 GB, free: 2.172 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.1583, allocations: 0 / 0.5737 GB, free: 2.172 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.1594, allocations: 0.6088 MB / 0.5743 GB, free: 1.539 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.1595, allocations: 120.9 kB / 0.5744 GB, free: 1.402 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.808e-05/0.1596, allocations: 8 kB / 0.5744 GB, free: 1.395 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002743/0.1598, allocations: 27.92 kB / 0.5745 GB, free: 1.367 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.295e-05/0.1599, allocations: 35.83 kB / 0.5745 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.1599, allocations: 8 kB / 0.5745 GB, free: 1.324 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002101/0.1601, allocations: 182 kB / 0.5747 GB, free: 1.148 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1601, allocations: 0 / 0.5747 GB, free: 1.148 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005371/0.1607, allocations: 95.94 kB / 0.5748 GB, free: 1.055 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001483/0.1622, allocations: 1.147 MB / 0.5759 GB, free: 15.87 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001029/0.1632, allocations: 390.3 kB / 0.5763 GB, free: 15.47 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.1632, allocations: 0.75 kB / 0.5763 GB, free: 15.47 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004547/0.1636, allocations: 246.4 kB / 0.5765 GB, free: 15.22 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005701/0.1642, allocations: 44.7 kB / 0.5765 GB, free: 15.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006201/0.1704, allocations: 3.479 MB / 0.5799 GB, free: 11.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006065/0.171, allocations: 0.8151 MB / 0.5807 GB, free: 10.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001947/0.1712, allocations: 38.89 kB / 0.5808 GB, free: 10.63 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002283/0.1714, allocations: 143.4 kB / 0.5809 GB, free: 10.49 MB / 446.1 MB Notification: Performance of SimCode: time 1.583e-06/0.1714, allocations: 0 / 0.5809 GB, free: 10.49 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03626/0.2077, allocations: 6.579 MB / 0.5873 GB, free: 4.055 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/10.74, allocations: 20.56 kB / 0.5873 GB, free: 4.043 MB / 446.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv --start-time 0 --stop-time 14 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.00300043 ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents.fmu > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable converter.Phi in file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv. Warning: Get data of variable converter.Phi from file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv failed! Error: Could not read variable leakageWithCoefficient.port_p.Phi in file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv. Warning: Get data of variable leakageWithCoefficient.port_p.Phi from file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.251655865999055]