Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001906/0.001906, allocations: 115 kB / 20.48 MB, free: 1.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002557/0.002557, allocations: 213.9 kB / 23.77 MB, free: 4.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 230.5 MB / 257.4 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2289/0.2289, allocations: 46.94 MB / 360.9 MB, free: 3.992 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002329/0.002329, allocations: 80.11 kB / 0.4962 GB, free: 7.535 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3723, allocations: 66.08 MB / 0.5607 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.00543/0.3778, allocations: 3.234 MB / 0.5639 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.3794, allocations: 0.8042 MB / 0.5647 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002139/0.3797, allocations: 8 kB / 0.5647 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002232/0.3799, allocations: 75.23 kB / 0.5648 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002947/0.3802, allocations: 126.8 kB / 0.5649 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004144/0.3806, allocations: 131.8 kB / 0.565 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006293/0.3812, allocations: 0.5217 MB / 0.5655 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003395/0.3816, allocations: 166.3 kB / 0.5657 GB, free: 14.94 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000277/0.3818, allocations: 219.3 kB / 0.5659 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000297/0.3821, allocations: 199 kB / 0.5661 GB, free: 14.53 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.159e-05/0.3822, allocations: 48 kB / 0.5661 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.452e-05/0.3823, allocations: 51.94 kB / 0.5662 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.3824, allocations: 115.6 kB / 0.5663 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002322/0.3826, allocations: 211 kB / 0.5665 GB, free: 14.11 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006697/0.3833, allocations: 0.5602 MB / 0.567 GB, free: 13.55 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3833, allocations: 0 / 0.567 GB, free: 13.55 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3833, allocations: 0 / 0.567 GB, free: 13.55 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.348e-06/0.3833, allocations: 0 / 0.567 GB, free: 13.55 MB / 414.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.001392/0.3847, allocations: 0.6962 MB / 0.5677 GB, free: 12.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.3848, allocations: 8.031 kB / 0.5677 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.843e-05/0.3849, allocations: 86.7 kB / 0.5678 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.162e-05/0.385, allocations: 56.61 kB / 0.5679 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004956/0.3855, allocations: 263.7 kB / 0.5681 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.913e-05/0.3855, allocations: 37.38 kB / 0.5681 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.981e-05/0.3856, allocations: 48.38 kB / 0.5682 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008713/0.3864, allocations: 0.5026 MB / 0.5687 GB, free: 11.76 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.3865, allocations: 3.938 kB / 0.5687 GB, free: 11.76 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.11e-05/0.3865, allocations: 20 kB / 0.5687 GB, free: 11.74 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/0.3865, allocations: 12 kB / 0.5687 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007396/0.3873, allocations: 324.2 kB / 0.569 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002572/0.3898, allocations: 1.514 MB / 0.5705 GB, free: 9.793 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006019/0.3904, allocations: 229 kB / 0.5707 GB, free: 9.551 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003264/0.3908, allocations: 125.6 kB / 0.5708 GB, free: 9.422 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.3908, allocations: 4 kB / 0.5708 GB, free: 9.418 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.3908, allocations: 38.56 kB / 0.5709 GB, free: 9.371 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 2.164e-06/0.3908, allocations: 0 / 0.5709 GB, free: 9.371 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003052/0.3939, allocations: 1.142 MB / 0.572 GB, free: 8.168 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/0.3939, allocations: 81.11 kB / 0.5721 GB, free: 8.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003088/0.3942, allocations: 269.8 kB / 0.5723 GB, free: 7.801 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.3943, allocations: 29.7 kB / 0.5724 GB, free: 7.766 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002/0.3945, allocations: 268.1 kB / 0.5726 GB, free: 7.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.3946, allocations: 130.9 kB / 0.5727 GB, free: 7.371 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.3947, allocations: 70.14 kB / 0.5728 GB, free: 7.293 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.3949, allocations: 350.7 kB / 0.5731 GB, free: 6.941 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002891/0.3952, allocations: 108.8 kB / 0.5732 GB, free: 6.836 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003825/0.3955, allocations: 212.3 kB / 0.5734 GB, free: 6.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000653/0.3962, allocations: 338.4 kB / 0.5738 GB, free: 6.219 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.3962, allocations: 4 kB / 0.5738 GB, free: 6.215 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008994/0.3971, allocations: 413.9 kB / 0.5742 GB, free: 5.801 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.3971, allocations: 4 kB / 0.5742 GB, free: 5.797 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.3971, allocations: 4 kB / 0.5742 GB, free: 5.793 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001635/0.3973, allocations: 41.16 kB / 0.5742 GB, free: 5.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004998/0.3978, allocations: 119.8 kB / 0.5743 GB, free: 5.633 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001324/0.3991, allocations: 1.335 MB / 0.5756 GB, free: 4.172 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002497/0.3994, allocations: 16 kB / 0.5756 GB, free: 4.156 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.996e-05/0.3994, allocations: 24.05 kB / 0.5757 GB, free: 4.133 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.0002193/0.3996, allocations: 165.7 kB / 0.5758 GB, free: 3.961 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.64e-05/0.3997, allocations: 27.81 kB / 0.5759 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.763e-05/0.3998, allocations: 42.05 kB / 0.5759 GB, free: 3.895 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.3998, allocations: 4 kB / 0.5759 GB, free: 3.891 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3998, allocations: 0 / 0.5759 GB, free: 3.891 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.3998, allocations: 0 / 0.5759 GB, free: 3.891 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.4009, allocations: 0.6539 MB / 0.5765 GB, free: 3.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.4009, allocations: 3.938 kB / 0.5765 GB, free: 3.176 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004371/0.4014, allocations: 95.88 kB / 0.5766 GB, free: 3.082 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.801e-05/0.4015, allocations: 28.78 kB / 0.5767 GB, free: 3.051 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.4015, allocations: 8 kB / 0.5767 GB, free: 3.043 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001121/0.4026, allocations: 1.323 MB / 0.578 GB, free: 1.605 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.4026, allocations: 0 / 0.578 GB, free: 1.605 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.4037, allocations: 0.6055 MB / 0.5786 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.4038, allocations: 43.83 kB / 0.5786 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.531e-05/0.4038, allocations: 12.06 kB / 0.5786 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002727/0.4041, allocations: 23.92 kB / 0.5786 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.14e-05/0.4042, allocations: 27.94 kB / 0.5787 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/0.4042, allocations: 12 kB / 0.5787 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002023/0.4044, allocations: 177.2 kB / 0.5788 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4044, allocations: 3.938 kB / 0.5788 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004694/0.4048, allocations: 96 kB / 0.5789 GB, free: 0.5859 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.001609/0.4065, allocations: 1.147 MB / 0.58 GB, free: 15.41 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001319/0.4078, allocations: 405.1 kB / 0.5804 GB, free: 15 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.4078, allocations: 0 / 0.5804 GB, free: 15 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006492/0.4084, allocations: 242.5 kB / 0.5807 GB, free: 14.75 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008069/0.4092, allocations: 48.98 kB / 0.5807 GB, free: 14.71 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008059/0.4173, allocations: 3.489 MB / 0.5841 GB, free: 11.03 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.4176, allocations: 207.8 kB / 0.5843 GB, free: 10.81 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002483/0.4179, allocations: 34.95 kB / 0.5844 GB, free: 10.78 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003123/0.4182, allocations: 143.4 kB / 0.5845 GB, free: 10.64 MB / 430.1 MB Notification: Performance of SimCode: time 1.302e-06/0.4182, allocations: 0 / 0.5845 GB, free: 10.64 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04125/0.4595, allocations: 7.276 MB / 0.5916 GB, free: 3.508 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.2, allocations: 7.234 kB / 0.5916 GB, free: 3.504 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Magnetic_FluxTubes_BasicComponents.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv. Warning: Get data of variable converter.Phi from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv failed! Error: Could not read variable leakageWithCoefficient.port_p.Phi in file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv. Warning: Get data of variable leakageWithCoefficient.port_p.Phi from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.38258655500249]