Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001848/0.001848, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002364/0.002364, allocations: 209.6 kB / 23.73 MB, free: 4.41 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.629/1.629, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2403/0.2403, allocations: 44.94 MB / 358.8 MB, free: 6.066 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002406/0.002406, allocations: 69.77 kB / 0.493 GB, free: 10.56 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4081/0.4105, allocations: 65.47 MB / 0.557 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005627/0.4161, allocations: 3.235 MB / 0.5601 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001847/0.4179, allocations: 0.7963 MB / 0.5609 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002027/0.4181, allocations: 15.94 kB / 0.5609 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002284/0.4184, allocations: 75.23 kB / 0.561 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002823/0.4187, allocations: 130.8 kB / 0.5611 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004051/0.4191, allocations: 139.6 kB / 0.5612 GB, free: 3.148 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00063/0.4197, allocations: 0.518 MB / 0.5617 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003366/0.42, allocations: 166.3 kB / 0.5619 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002735/0.4203, allocations: 211.3 kB / 0.5621 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003014/0.4206, allocations: 207 kB / 0.5623 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.107e-05/0.4207, allocations: 48 kB / 0.5623 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.641e-05/0.4208, allocations: 55.94 kB / 0.5624 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.4209, allocations: 111.6 kB / 0.5625 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002251/0.4211, allocations: 203.1 kB / 0.5627 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000654/0.4218, allocations: 0.5563 MB / 0.5632 GB, free: 1.082 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4218, allocations: 3.938 kB / 0.5632 GB, free: 1.078 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4218, allocations: 0 / 0.5632 GB, free: 1.078 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.269e-05/0.4218, allocations: 0 / 0.5632 GB, free: 1.078 MB / 398.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.001429/0.4232, allocations: 0.7 MB / 0.5639 GB, free: 356 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.4233, allocations: 12.03 kB / 0.5639 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001063/0.4234, allocations: 90.7 kB / 0.564 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.4235, allocations: 56.61 kB / 0.5641 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005309/0.424, allocations: 259.7 kB / 0.5643 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.588e-05/0.424, allocations: 37.38 kB / 0.5644 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.706e-05/0.4241, allocations: 44.38 kB / 0.5644 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008845/0.425, allocations: 0.5104 MB / 0.5649 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.425, allocations: 0 / 0.5649 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.031e-05/0.4251, allocations: 16 kB / 0.5649 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.689e-05/0.4251, allocations: 12 kB / 0.5649 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007612/0.4258, allocations: 328.2 kB / 0.5652 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002836/0.4287, allocations: 1.51 MB / 0.5667 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006006/0.4293, allocations: 225 kB / 0.5669 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003426/0.4296, allocations: 125.7 kB / 0.5671 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.041e-05/0.4296, allocations: 8 kB / 0.5671 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.4297, allocations: 34.81 kB / 0.5671 GB, free: 12.9 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.423e-06/0.4297, allocations: 0 / 0.5671 GB, free: 12.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003059/0.4327, allocations: 1.142 MB / 0.5682 GB, free: 11.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.273e-05/0.4328, allocations: 89.05 kB / 0.5683 GB, free: 11.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003021/0.4331, allocations: 261.8 kB / 0.5685 GB, free: 11.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.117e-05/0.4331, allocations: 29.7 kB / 0.5686 GB, free: 11.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/0.4333, allocations: 276 kB / 0.5688 GB, free: 11.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.4334, allocations: 126.9 kB / 0.569 GB, free: 10.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.4336, allocations: 78.12 kB / 0.569 GB, free: 10.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002122/0.4338, allocations: 338.8 kB / 0.5694 GB, free: 10.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002814/0.4341, allocations: 108.8 kB / 0.5695 GB, free: 10.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003766/0.4344, allocations: 208.4 kB / 0.5697 GB, free: 10.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006922/0.4351, allocations: 344.4 kB / 0.57 GB, free: 9.746 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4351, allocations: 0 / 0.57 GB, free: 9.746 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008998/0.436, allocations: 414.2 kB / 0.5704 GB, free: 9.332 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.4361, allocations: 8 kB / 0.5704 GB, free: 9.324 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.4361, allocations: 7.938 kB / 0.5704 GB, free: 9.316 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001504/0.4362, allocations: 36.78 kB / 0.5704 GB, free: 9.277 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004586/0.4367, allocations: 123.8 kB / 0.5706 GB, free: 9.156 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001316/0.438, allocations: 1.338 MB / 0.5719 GB, free: 7.691 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002319/0.4382, allocations: 19.98 kB / 0.5719 GB, free: 7.672 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/0.4383, allocations: 16 kB / 0.5719 GB, free: 7.656 MB / 414.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.0002231/0.4385, allocations: 165.7 kB / 0.5721 GB, free: 7.484 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.884e-05/0.4386, allocations: 31.81 kB / 0.5721 GB, free: 7.453 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.429e-05/0.4386, allocations: 34.11 kB / 0.5721 GB, free: 7.422 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.4386, allocations: 4 kB / 0.5721 GB, free: 7.418 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.4386, allocations: 8.062 kB / 0.5721 GB, free: 7.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.4386, allocations: 0 / 0.5721 GB, free: 7.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.4398, allocations: 0.6469 MB / 0.5728 GB, free: 6.707 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.4398, allocations: 4 kB / 0.5728 GB, free: 6.703 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004025/0.4402, allocations: 91.88 kB / 0.5728 GB, free: 6.613 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.865e-05/0.4403, allocations: 32.84 kB / 0.5729 GB, free: 6.578 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.4404, allocations: 12 kB / 0.5729 GB, free: 6.566 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001186/0.4415, allocations: 1.315 MB / 0.5742 GB, free: 5.137 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.4416, allocations: 4.031 kB / 0.5742 GB, free: 5.133 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.4426, allocations: 0.6117 MB / 0.5748 GB, free: 4.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.4428, allocations: 51.81 kB / 0.5748 GB, free: 4.449 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.965e-05/0.4428, allocations: 8 kB / 0.5748 GB, free: 4.441 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002881/0.4431, allocations: 19.92 kB / 0.5749 GB, free: 4.422 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.459e-05/0.4432, allocations: 27.89 kB / 0.5749 GB, free: 4.395 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.4432, allocations: 12 kB / 0.5749 GB, free: 4.383 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002072/0.4434, allocations: 185.2 kB / 0.5751 GB, free: 4.199 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4434, allocations: 0 / 0.5751 GB, free: 4.199 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004809/0.4439, allocations: 96 kB / 0.5752 GB, free: 4.105 MB / 414.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.001363/0.4452, allocations: 1.147 MB / 0.5763 GB, free: 2.922 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008616/0.4461, allocations: 396.1 kB / 0.5767 GB, free: 2.523 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4461, allocations: 0 / 0.5767 GB, free: 2.523 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000408/0.4465, allocations: 243.4 kB / 0.5769 GB, free: 2.273 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000493/0.447, allocations: 43.92 kB / 0.5769 GB, free: 2.234 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005144/0.4522, allocations: 3.496 MB / 0.5803 GB, free: 14.55 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002234/0.4524, allocations: 207.8 kB / 0.5805 GB, free: 14.33 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001558/0.4525, allocations: 34.97 kB / 0.5806 GB, free: 14.29 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000192/0.4527, allocations: 139.4 kB / 0.5807 GB, free: 14.16 MB / 430.1 MB Notification: Performance of SimCode: time 5.82e-07/0.4527, allocations: 0 / 0.5807 GB, free: 14.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0383/0.491, allocations: 7.198 MB / 0.5877 GB, free: 7.137 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.48, allocations: 10.08 kB / 0.5877 GB, free: 7.133 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv. Warning: Get data of variable converter.Phi from file ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv failed! Error: Could not read variable leakageWithCoefficient.port_p.Phi in file ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv. Warning: Get data of variable leakageWithCoefficient.port_p.Phi from file ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.868410063907504]