Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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.0008757/0.0008757, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009643/0.0009643, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9383/0.9383, allocations: 177 MB / 204.1 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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.2534/0.2534, allocations: 34.25 MB / 294.8 MB, free: 0.6797 MB / 266.7 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.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 442.1 MB, free: 1.582 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.99e-05/2.121e-05, allocations: 6.219 kB / 442.2 MB, free: 1.574 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.1856/0.1857, allocations: 4.754 MB / 446.9 MB, free: 41.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001697/0.1874, allocations: 1.58 MB / 448.5 MB, free: 40.97 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00018/0.1875, allocations: 17.06 kB / 448.5 MB, free: 40.97 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001382/0.1889, allocations: 1.566 MB / 450.1 MB, free: 40.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003814/0.1893, allocations: 332.8 kB / 450.4 MB, free: 39.85 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006132/0.1899, allocations: 0.4902 MB / 450.9 MB, free: 39.57 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004431/0.1904, allocations: 0.8255 MB / 451.7 MB, free: 39.12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006034/0.191, allocations: 0.6272 MB / 452.3 MB, free: 38.77 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003354/0.1913, allocations: 0.5111 MB / 452.8 MB, free: 38.54 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002479/0.1915, allocations: 354.6 kB / 453.2 MB, free: 38.42 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.874e-05/0.1916, allocations: 77.56 kB / 453.3 MB, free: 38.42 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002017/0.1918, allocations: 186.1 kB / 453.5 MB, free: 38.39 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.064e-05/0.1919, allocations: 179.5 kB / 453.6 MB, free: 38.26 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.192, allocations: 287 kB / 453.9 MB, free: 38.13 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006153/0.1926, allocations: 1.193 MB / 455.1 MB, free: 37.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1926, allocations: 0 / 455.1 MB, free: 37.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1926, allocations: 0 / 455.1 MB, free: 37.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.1926, allocations: 0 / 455.1 MB, free: 37.66 MB / 410.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.001671/0.1943, allocations: 1.292 MB / 456.4 MB, free: 36.92 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.1944, allocations: 11.41 kB / 456.4 MB, free: 36.92 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.544e-05/0.1945, allocations: 151 kB / 456.6 MB, free: 36.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007776/0.1952, allocations: 237 kB / 456.8 MB, free: 36.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.1953, allocations: 191 kB / 457 MB, free: 36.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.712e-05/0.1954, allocations: 74.88 kB / 457 MB, free: 36.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.378e-05/0.1955, allocations: 108.9 kB / 457.1 MB, free: 36.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008427/0.1963, allocations: 0.9377 MB / 458.1 MB, free: 36.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/0.1963, allocations: 7.203 kB / 458.1 MB, free: 36.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.458e-05/0.1964, allocations: 37.97 kB / 458.1 MB, free: 36.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/0.1964, allocations: 29.11 kB / 458.2 MB, free: 36.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007393/0.1971, allocations: 0.7224 MB / 458.9 MB, free: 35.79 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002394/0.1995, allocations: 2.835 MB / 461.7 MB, free: 33.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008443/0.2004, allocations: 0.7624 MB / 462.5 MB, free: 33.56 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002209/0.2006, allocations: 262.6 kB / 462.7 MB, free: 33.44 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.634e-05/0.2006, allocations: 29.2 kB / 462.8 MB, free: 33.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.666e-05/0.2007, allocations: 48.64 kB / 462.8 MB, free: 33.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=66): time 2.164e-06/0.2007, allocations: 0 / 462.8 MB, free: 33.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=66): time 0.001344/0.202, allocations: 1.006 MB / 463.8 MB, free: 33 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.202, allocations: 138.1 kB / 464 MB, free: 32.85 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.2022, allocations: 327.9 kB / 464.3 MB, free: 32.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.2023, allocations: 40.77 kB / 464.3 MB, free: 32.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.2024, allocations: 415.9 kB / 464.7 MB, free: 32.28 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.22e-05/0.2024, allocations: 228.2 kB / 464.9 MB, free: 32.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.2026, allocations: 151.6 kB / 465.1 MB, free: 32.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.741e-05/0.2026, allocations: 349.8 kB / 465.4 MB, free: 31.69 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.2028, allocations: 197.7 kB / 465.6 MB, free: 31.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002587/0.2031, allocations: 403.5 kB / 466 MB, free: 31.31 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004931/0.2036, allocations: 0.6321 MB / 466.7 MB, free: 30.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.2036, allocations: 3.156 kB / 466.7 MB, free: 30.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0008315/0.2044, allocations: 0.8822 MB / 467.5 MB, free: 30.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.2044, allocations: 6.594 kB / 467.5 MB, free: 30.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.2044, allocations: 10.31 kB / 467.6 MB, free: 30.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005173/0.205, allocations: 226.2 kB / 467.8 MB, free: 30.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000254/0.2052, allocations: 139.7 kB / 467.9 MB, free: 30.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00259/0.2078, allocations: 6.252 MB / 474.2 MB, free: 24.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002245/0.208, allocations: 89.14 kB / 474.2 MB, free: 24.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/0.2081, allocations: 34.44 kB / 474.3 MB, free: 24.57 MB / 410.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.0001735/0.2082, allocations: 225.6 kB / 474.5 MB, free: 24.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.872e-05/0.2083, allocations: 42.62 kB / 474.5 MB, free: 24.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007045/0.209, allocations: 0.6882 MB / 475.2 MB, free: 24.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.209, allocations: 6.656 kB / 475.2 MB, free: 24.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.209, allocations: 6.188 kB / 475.2 MB, free: 24.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.209, allocations: 3.328 kB / 475.2 MB, free: 24.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/0.2103, allocations: 1.458 MB / 476.7 MB, free: 23.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.2103, allocations: 6.406 kB / 476.7 MB, free: 23.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/0.2104, allocations: 65.98 kB / 476.8 MB, free: 23.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002735/0.2107, allocations: 213.6 kB / 477 MB, free: 23.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.2107, allocations: 14.64 kB / 477 MB, free: 23.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002235/0.2129, allocations: 6.244 MB / 483.2 MB, free: 17.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.213, allocations: 3.281 kB / 483.2 MB, free: 17.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008962/0.2138, allocations: 1.194 MB / 484.4 MB, free: 16.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.306e-05/0.2139, allocations: 53.48 kB / 484.5 MB, free: 16.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/0.2139, allocations: 10.94 kB / 484.5 MB, free: 16.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.2141, allocations: 14.12 kB / 484.5 MB, free: 16.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.324e-05/0.2142, allocations: 60.81 kB / 484.6 MB, free: 16.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.2142, allocations: 16.72 kB / 484.6 MB, free: 16.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001206/0.2143, allocations: 217.9 kB / 484.8 MB, free: 16.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2143, allocations: 0 / 484.8 MB, free: 16.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006671/0.215, allocations: 279.4 kB / 485.1 MB, free: 16.33 MB / 410.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.00104/0.216, allocations: 1.772 MB / 486.9 MB, free: 15.03 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008117/0.2168, allocations: 1.048 MB / 487.9 MB, free: 14.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2168, allocations: 0 / 487.9 MB, free: 14.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003772/0.2172, allocations: 0.7557 MB / 488.7 MB, free: 13.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004934/0.2177, allocations: 54.31 kB / 488.7 MB, free: 13.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003962/0.2217, allocations: 5.082 MB / 493.8 MB, free: 10.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.2219, allocations: 324.3 kB / 494.1 MB, free: 10.28 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001551/0.2221, allocations: 64.23 kB / 494.2 MB, free: 10.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.2222, allocations: 236.8 kB / 494.4 MB, free: 10.07 MB / 410.7 MB Notification: Performance of SimCode: time 7.71e-07/0.2222, allocations: 1.125 kB / 494.4 MB, free: 10.07 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03324/0.2555, allocations: 12.91 MB / 0.4954 GB, free: 7.855 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.461/7.717, allocations: 10.19 kB / 0.4954 GB, free: 7.848 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.csv. Warning: Get data of variable quarterHollowSphere.port_p.reference.gamma from file ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.805065397173166]