Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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.0009858/0.0009858, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.001216/0.001216, allocations: 170.3 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9807/0.9807, allocations: 158.6 MB / 185 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1327/0.1327, allocations: 32.37 MB / 269.6 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 406.8 MB, free: 13.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.278e-05/2.465e-05, allocations: 5.656 kB / 406.8 MB, free: 13.52 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.005515/0.00554, allocations: 4.709 MB / 411.6 MB, free: 8.789 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001958/0.007497, allocations: 1.542 MB / 413.1 MB, free: 7.234 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000186/0.007683, allocations: 27.94 kB / 413.1 MB, free: 7.207 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001852/0.009536, allocations: 1.567 MB / 414.7 MB, free: 5.633 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004115/0.009947, allocations: 313.5 kB / 415 MB, free: 5.324 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006067/0.01055, allocations: 498.4 kB / 415.5 MB, free: 4.836 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005037/0.01106, allocations: 0.8431 MB / 416.3 MB, free: 3.988 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006151/0.01167, allocations: 0.6273 MB / 417 MB, free: 3.344 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003523/0.01202, allocations: 0.495 MB / 417.5 MB, free: 2.848 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003135/0.01234, allocations: 343 kB / 417.8 MB, free: 2.512 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.506e-05/0.0124, allocations: 79.98 kB / 417.9 MB, free: 2.434 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002286/0.01263, allocations: 183.7 kB / 418 MB, free: 2.254 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.132e-05/0.01271, allocations: 179.3 kB / 418.2 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.01288, allocations: 287.3 kB / 418.5 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007739/0.01365, allocations: 1.164 MB / 419.7 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.01365, allocations: 11.88 kB / 419.7 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.01365, allocations: 0 / 419.7 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.697e-06/0.01366, allocations: 0 / 419.7 MB, free: 0.6172 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.002133/0.0158, allocations: 1.296 MB / 421 MB, free: 15.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.01583, allocations: 12.03 kB / 421 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000119/0.01595, allocations: 148.4 kB / 421.1 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006952/0.01665, allocations: 228.2 kB / 421.4 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.0168, allocations: 205.3 kB / 421.6 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.289e-05/0.01686, allocations: 74.38 kB / 421.6 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.01696, allocations: 96.38 kB / 421.7 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009776/0.01794, allocations: 0.9325 MB / 422.7 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/0.01797, allocations: 7.891 kB / 422.7 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.988e-05/0.01802, allocations: 40 kB / 422.7 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.01803, allocations: 24 kB / 422.7 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007915/0.01882, allocations: 0.7144 MB / 423.4 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002804/0.02163, allocations: 2.815 MB / 426.3 MB, free: 9.816 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009946/0.02262, allocations: 0.7652 MB / 427 MB, free: 9.027 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000275/0.0229, allocations: 259.9 kB / 427.3 MB, free: 8.766 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.039e-05/0.02296, allocations: 24.25 kB / 427.3 MB, free: 8.742 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.02299, allocations: 42.83 kB / 427.3 MB, free: 8.691 MB / 362.7 MB Notification: Performance of pre-optimization done (n=66): time 2.475e-06/0.02299, allocations: 0 / 427.3 MB, free: 8.691 MB / 362.7 MB Notification: Performance of matching and sorting (n=66): time 0.00187/0.02486, allocations: 1.016 MB / 428.4 MB, free: 7.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.662e-05/0.02491, allocations: 136.5 kB / 428.5 MB, free: 7.496 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/0.02516, allocations: 328 kB / 428.8 MB, free: 7.164 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.02519, allocations: 37.7 kB / 428.8 MB, free: 7.121 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/0.02536, allocations: 411.8 kB / 429.2 MB, free: 6.711 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.02547, allocations: 242 kB / 429.5 MB, free: 6.473 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.0256, allocations: 146.6 kB / 429.6 MB, free: 6.324 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.829e-05/0.0257, allocations: 350.7 kB / 430 MB, free: 5.973 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002348/0.02594, allocations: 201.9 kB / 430.2 MB, free: 5.773 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003405/0.02628, allocations: 396.7 kB / 430.5 MB, free: 5.309 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006197/0.0269, allocations: 0.6314 MB / 431.2 MB, free: 4.598 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.0269, allocations: 0 / 431.2 MB, free: 4.598 MB / 362.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001046/0.02795, allocations: 0.879 MB / 432.1 MB, free: 3.699 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.02797, allocations: 4 kB / 432.1 MB, free: 3.695 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.02798, allocations: 8 kB / 432.1 MB, free: 3.688 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004645/0.02845, allocations: 227.4 kB / 432.3 MB, free: 3.453 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/0.02871, allocations: 135.8 kB / 432.4 MB, free: 3.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004263/0.03297, allocations: 6.253 MB / 438.7 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/0.03321, allocations: 87.3 kB / 438.8 MB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.404e-05/0.03324, allocations: 35.98 kB / 438.8 MB, free: 12.49 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002168/0.03346, allocations: 229.6 kB / 439 MB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.156e-05/0.03353, allocations: 43.72 kB / 439.1 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007715/0.0343, allocations: 0.6736 MB / 439.7 MB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.03431, allocations: 8 kB / 439.7 MB, free: 11.51 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.03431, allocations: 8.062 kB / 439.8 MB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.03432, allocations: 7.984 kB / 439.8 MB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001641/0.03596, allocations: 1.46 MB / 441.2 MB, free: 9.973 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.03597, allocations: 0 / 441.2 MB, free: 9.973 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.03611, allocations: 67.92 kB / 441.3 MB, free: 9.906 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003332/0.03644, allocations: 211.4 kB / 441.5 MB, free: 9.688 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.03646, allocations: 12 kB / 441.5 MB, free: 9.676 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003908/0.04037, allocations: 6.246 MB / 447.8 MB, free: 2.973 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.04038, allocations: 3.938 kB / 447.8 MB, free: 2.969 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.0414, allocations: 1.178 MB / 448.9 MB, free: 1.762 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.279e-05/0.04146, allocations: 59.55 kB / 449 MB, free: 1.703 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.04148, allocations: 12 kB / 449 MB, free: 1.691 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.04165, allocations: 15.94 kB / 449 MB, free: 1.676 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004191/0.04207, allocations: 59.83 kB / 449.1 MB, free: 1.617 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.836e-05/0.04209, allocations: 16 kB / 449.1 MB, free: 1.602 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001537/0.04224, allocations: 219 kB / 449.3 MB, free: 1.391 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04224, allocations: 0 / 449.3 MB, free: 1.391 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007029/0.04294, allocations: 275.4 kB / 449.6 MB, free: 1.121 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (constantSource2.port_p.reference.gamma,constantSource1.port_p.reference.gamma) * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.1635/0.2065, allocations: 1.754 MB / 451.3 MB, free: 51.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001229/0.2077, allocations: 1.039 MB / 452.4 MB, free: 50.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.2077, allocations: 1.156 kB / 452.4 MB, free: 50.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000485/0.2082, allocations: 0.7532 MB / 453.1 MB, free: 50.53 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004954/0.2087, allocations: 48.78 kB / 453.2 MB, free: 50.53 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004923/0.2136, allocations: 5.095 MB / 458.3 MB, free: 47.76 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.2139, allocations: 316.2 kB / 458.6 MB, free: 47.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001741/0.214, allocations: 64.86 kB / 458.6 MB, free: 47.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/0.2142, allocations: 230.8 kB / 458.9 MB, free: 47.46 MB / 378.7 MB Notification: Performance of SimCode: time 8.01e-07/0.2142, allocations: 4 kB / 458.9 MB, free: 47.45 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03793/0.2522, allocations: 12.76 MB / 471.6 MB, free: 43.24 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.343/7.595, allocations: 0 / 471.6 MB, free: 43.24 MB / 378.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_3_2_3_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable quarterHollowSphere.port_p.reference.gamma in file ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.csv. Warning: Get data of variable quarterHollowSphere.port_p.reference.gamma from file ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.765471919439733]