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.001622/0.001622, 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.002036/0.002036, allocations: 212.8 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.551/1.551, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.2261/0.2261, allocations: 44.91 MB / 358.8 MB, free: 6.297 MB / 286.1 MB " [Timeout remaining time 180] 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.002095/0.002095, allocations: 67.83 kB / 0.4931 GB, free: 10.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3114, allocations: 65.48 MB / 0.557 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005622/0.317, allocations: 3.551 MB / 0.5605 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002037/0.319, allocations: 0.8313 MB / 0.5613 GB, free: 3.391 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002749/0.3193, allocations: 15.88 kB / 0.5613 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002475/0.3195, allocations: 75.23 kB / 0.5614 GB, free: 3.301 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003518/0.3199, allocations: 130.8 kB / 0.5615 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004538/0.3203, allocations: 127.8 kB / 0.5616 GB, free: 3.047 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006709/0.321, allocations: 0.5219 MB / 0.5621 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003407/0.3214, allocations: 182.3 kB / 0.5623 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002836/0.3216, allocations: 215.3 kB / 0.5625 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003248/0.322, allocations: 238.9 kB / 0.5628 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.881e-05/0.322, allocations: 48 kB / 0.5628 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.89e-05/0.3221, allocations: 52 kB / 0.5629 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.692e-05/0.3222, allocations: 107.6 kB / 0.563 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002511/0.3225, allocations: 242.9 kB / 0.5632 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006781/0.3231, allocations: 0.5641 MB / 0.5637 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.3231, allocations: 0 / 0.5637 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3231, allocations: 0 / 0.5637 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.3232, allocations: 0 / 0.5637 GB, free: 0.8867 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.001389/0.3245, allocations: 0.6922 MB / 0.5644 GB, free: 168 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.3246, allocations: 16.03 kB / 0.5644 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000111/0.3247, allocations: 86.7 kB / 0.5645 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.3248, allocations: 60.59 kB / 0.5646 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005103/0.3253, allocations: 259.7 kB / 0.5648 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.692e-05/0.3254, allocations: 33.31 kB / 0.5648 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.765e-05/0.3254, allocations: 48.38 kB / 0.5649 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008887/0.3263, allocations: 467.3 kB / 0.5653 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.3264, allocations: 0 / 0.5653 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.555e-05/0.3264, allocations: 20 kB / 0.5654 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.3264, allocations: 8 kB / 0.5654 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007481/0.3272, allocations: 328.1 kB / 0.5657 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00276/0.3299, allocations: 1.623 MB / 0.5673 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006429/0.3306, allocations: 221 kB / 0.5675 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003564/0.3309, allocations: 133.8 kB / 0.5676 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.563e-05/0.331, allocations: 3.984 kB / 0.5676 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.307e-05/0.331, allocations: 42.5 kB / 0.5676 GB, free: 12.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 2.365e-06/0.331, allocations: 0 / 0.5676 GB, free: 12.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003098/0.3341, allocations: 1.128 MB / 0.5687 GB, free: 11.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.381e-05/0.3342, allocations: 85.05 kB / 0.5688 GB, free: 11.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003306/0.3345, allocations: 257.9 kB / 0.5691 GB, free: 11.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.647e-05/0.3345, allocations: 33.7 kB / 0.5691 GB, free: 11.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/0.3347, allocations: 268.1 kB / 0.5694 GB, free: 10.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.3348, allocations: 130.9 kB / 0.5695 GB, free: 10.67 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.335, allocations: 82.08 kB / 0.5696 GB, free: 10.58 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.3351, allocations: 342.8 kB / 0.5699 GB, free: 10.24 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002827/0.3354, allocations: 104.8 kB / 0.57 GB, free: 10.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003492/0.3358, allocations: 212.3 kB / 0.5702 GB, free: 9.887 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006325/0.3364, allocations: 335.9 kB / 0.5705 GB, free: 9.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3364, allocations: 0 / 0.5705 GB, free: 9.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000876/0.3373, allocations: 420.1 kB / 0.5709 GB, free: 9.102 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.3373, allocations: 11.98 kB / 0.5709 GB, free: 9.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.3373, allocations: 7.938 kB / 0.5709 GB, free: 9.082 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001444/0.3374, allocations: 32.78 kB / 0.571 GB, free: 9.047 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004947/0.3379, allocations: 120.1 kB / 0.5711 GB, free: 8.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/0.3392, allocations: 1.342 MB / 0.5724 GB, free: 7.461 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002701/0.3395, allocations: 19.98 kB / 0.5724 GB, free: 7.441 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.891e-05/0.3395, allocations: 20 kB / 0.5724 GB, free: 7.422 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.0002071/0.3397, allocations: 169.6 kB / 0.5726 GB, free: 7.246 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.061e-05/0.3398, allocations: 31.81 kB / 0.5726 GB, free: 7.215 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.527e-05/0.3398, allocations: 34.11 kB / 0.5727 GB, free: 7.184 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.3398, allocations: 8.062 kB / 0.5727 GB, free: 7.176 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.3399, allocations: 4 kB / 0.5727 GB, free: 7.172 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.3399, allocations: 0 / 0.5727 GB, free: 7.172 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.341, allocations: 0.6832 MB / 0.5733 GB, free: 6.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.341, allocations: 4 kB / 0.5733 GB, free: 6.426 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004277/0.3415, allocations: 92 kB / 0.5734 GB, free: 6.336 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.213e-05/0.3415, allocations: 32.72 kB / 0.5735 GB, free: 6.301 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.3416, allocations: 8 kB / 0.5735 GB, free: 6.293 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/0.3426, allocations: 1.327 MB / 0.5748 GB, free: 4.852 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3426, allocations: 0 / 0.5748 GB, free: 4.852 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.3437, allocations: 0.6055 MB / 0.5753 GB, free: 4.223 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.3438, allocations: 43.83 kB / 0.5754 GB, free: 4.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.687e-05/0.3438, allocations: 4 kB / 0.5754 GB, free: 4.176 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002811/0.3441, allocations: 31.92 kB / 0.5754 GB, free: 4.145 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.059e-05/0.3441, allocations: 19.95 kB / 0.5754 GB, free: 4.125 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.461e-05/0.3442, allocations: 15.98 kB / 0.5755 GB, free: 4.109 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001908/0.3444, allocations: 185.2 kB / 0.5756 GB, free: 3.926 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3444, allocations: 0 / 0.5756 GB, free: 3.926 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004528/0.3448, allocations: 92 kB / 0.5757 GB, free: 3.836 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.001459/0.3463, allocations: 1.159 MB / 0.5769 GB, free: 2.641 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008312/0.3471, allocations: 392.1 kB / 0.5772 GB, free: 2.246 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3471, allocations: 4.125 kB / 0.5772 GB, free: 2.242 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004041/0.3475, allocations: 241.2 kB / 0.5775 GB, free: 1.996 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004798/0.348, allocations: 40.48 kB / 0.5775 GB, free: 1.957 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005063/0.3531, allocations: 3.501 MB / 0.5809 GB, free: 14.28 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004528/0.3535, allocations: 0.8113 MB / 0.5817 GB, free: 13.44 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001497/0.3537, allocations: 30.97 kB / 0.5817 GB, free: 13.41 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002019/0.3539, allocations: 139.4 kB / 0.5819 GB, free: 13.27 MB / 430.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3539, allocations: 0 / 0.5819 GB, free: 13.27 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03832/0.3922, allocations: 6.887 MB / 0.5886 GB, free: 6.555 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.27, allocations: 3.938 kB / 0.5886 GB, free: 6.551 MB / 430.1 MB " [Timeout remaining time 648] (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.534779392997734]