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.001197/0.001197, allocations: 88.27 kB / 20.77 MB, free: 3.754 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.001092/0.001092, allocations: 160.9 kB / 24.06 MB, free: 476 kB / 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.907/0.907, allocations: 177 MB / 204.2 MB, free: 5.68 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.238/0.238, allocations: 34.24 MB / 295 MB, free: 0.6875 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 3.086e-06/3.086e-06, allocations: 0 / 442.4 MB, free: 1.457 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.064e-05/3.372e-05, allocations: 2.281 kB / 442.4 MB, free: 1.453 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.1825/0.1825, allocations: 4.762 MB / 447.1 MB, free: 41.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001985/0.1845, allocations: 1.574 MB / 448.7 MB, free: 40.92 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002281/0.1847, allocations: 20.44 kB / 448.7 MB, free: 40.92 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001406/0.1861, allocations: 1.567 MB / 450.3 MB, free: 40.03 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004826/0.1866, allocations: 318.9 kB / 450.6 MB, free: 39.81 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00066/0.1873, allocations: 0.4951 MB / 451.1 MB, free: 39.52 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004741/0.1878, allocations: 0.834 MB / 451.9 MB, free: 39.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006369/0.1884, allocations: 0.6242 MB / 452.6 MB, free: 38.72 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003663/0.1888, allocations: 0.5085 MB / 453.1 MB, free: 38.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002693/0.189, allocations: 348.2 kB / 453.4 MB, free: 38.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.621e-05/0.1891, allocations: 75.25 kB / 453.5 MB, free: 38.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003093/0.1894, allocations: 184.2 kB / 453.7 MB, free: 38.35 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.494e-05/0.1895, allocations: 181.4 kB / 453.8 MB, free: 38.22 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.1896, allocations: 288.4 kB / 454.1 MB, free: 38.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007373/0.1904, allocations: 1.192 MB / 455.3 MB, free: 37.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1904, allocations: 3.938 kB / 455.3 MB, free: 37.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1904, allocations: 0 / 455.3 MB, free: 37.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.1904, allocations: 0 / 455.3 MB, free: 37.61 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.00192/0.1923, allocations: 1.295 MB / 456.6 MB, free: 36.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.1923, allocations: 8.5 kB / 456.6 MB, free: 36.88 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.846e-05/0.1924, allocations: 150 kB / 456.8 MB, free: 36.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008969/0.1933, allocations: 240.1 kB / 457 MB, free: 36.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.1935, allocations: 192.1 kB / 457.2 MB, free: 36.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.016e-05/0.1935, allocations: 73.91 kB / 457.3 MB, free: 36.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.403e-05/0.1936, allocations: 106.1 kB / 457.4 MB, free: 36.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009442/0.1945, allocations: 0.9337 MB / 458.3 MB, free: 36.03 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.693e-05/0.1946, allocations: 11.89 kB / 458.3 MB, free: 36.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.349e-05/0.1946, allocations: 36.69 kB / 458.3 MB, free: 35.99 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.1946, allocations: 24.88 kB / 458.4 MB, free: 35.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007564/0.1954, allocations: 0.7229 MB / 459.1 MB, free: 35.74 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002649/0.198, allocations: 2.88 MB / 462 MB, free: 33.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008772/0.1989, allocations: 0.7663 MB / 462.7 MB, free: 33.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002164/0.1991, allocations: 259.7 kB / 463 MB, free: 33.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.679e-05/0.1992, allocations: 34.66 kB / 463 MB, free: 33.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.1992, allocations: 46.17 kB / 463.1 MB, free: 33.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=66): time 2.485e-06/0.1992, allocations: 0 / 463.1 MB, free: 33.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=66): time 0.001475/0.2007, allocations: 1.021 MB / 464.1 MB, free: 32.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.2007, allocations: 137.5 kB / 464.2 MB, free: 32.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.2009, allocations: 326.1 kB / 464.5 MB, free: 32.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.201, allocations: 36.42 kB / 464.6 MB, free: 32.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.938e-05/0.2011, allocations: 413.2 kB / 465 MB, free: 32.24 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.674e-05/0.2011, allocations: 231.6 kB / 465.2 MB, free: 32.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.2013, allocations: 155.1 kB / 465.4 MB, free: 31.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.766e-05/0.2013, allocations: 349.9 kB / 465.7 MB, free: 31.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/0.2015, allocations: 197.3 kB / 465.9 MB, free: 31.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002618/0.2018, allocations: 406.4 kB / 466.3 MB, free: 31.26 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005208/0.2023, allocations: 0.6356 MB / 466.9 MB, free: 30.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.2023, allocations: 0 / 466.9 MB, free: 30.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0008454/0.2032, allocations: 0.8801 MB / 467.8 MB, free: 30.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.2032, allocations: 6.344 kB / 467.8 MB, free: 30.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.2032, allocations: 10.31 kB / 467.8 MB, free: 30.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003921/0.2036, allocations: 227.7 kB / 468.1 MB, free: 30.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002509/0.2038, allocations: 135.9 kB / 468.2 MB, free: 30.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002667/0.2065, allocations: 6.249 MB / 474.4 MB, free: 24.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003037/0.2068, allocations: 85.58 kB / 474.5 MB, free: 24.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.289e-05/0.2068, allocations: 34.22 kB / 474.5 MB, free: 24.53 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.0002228/0.2071, allocations: 223.8 kB / 474.8 MB, free: 24.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.703e-05/0.2071, allocations: 47.53 kB / 474.8 MB, free: 24.31 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007118/0.2079, allocations: 0.6806 MB / 475.5 MB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.2079, allocations: 6.656 kB / 475.5 MB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.2079, allocations: 8.672 kB / 475.5 MB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.2079, allocations: 3.281 kB / 475.5 MB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.2093, allocations: 1.46 MB / 477 MB, free: 23.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.2093, allocations: 0 / 477 MB, free: 23.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.2094, allocations: 76.88 kB / 477 MB, free: 23.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002934/0.2097, allocations: 213.3 kB / 477.3 MB, free: 23.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.2097, allocations: 11.06 kB / 477.3 MB, free: 23.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002427/0.2122, allocations: 6.241 MB / 483.5 MB, free: 17.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.2122, allocations: 7.031 kB / 483.5 MB, free: 17.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009947/0.2132, allocations: 1.186 MB / 484.7 MB, free: 16.58 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.603e-05/0.2132, allocations: 54.62 kB / 484.8 MB, free: 16.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/0.2133, allocations: 14.2 kB / 484.8 MB, free: 16.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.2135, allocations: 14.03 kB / 484.8 MB, free: 16.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.21e-05/0.2135, allocations: 65.17 kB / 484.8 MB, free: 16.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.2136, allocations: 22.5 kB / 484.9 MB, free: 16.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001359/0.2137, allocations: 212.4 kB / 485.1 MB, free: 16.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2137, allocations: 6.875 kB / 485.1 MB, free: 16.37 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007546/0.2145, allocations: 284.9 kB / 485.4 MB, free: 16.29 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.00106/0.2155, allocations: 1.758 MB / 487.1 MB, free: 15 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009124/0.2164, allocations: 1.05 MB / 488.2 MB, free: 14.31 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2164, allocations: 384 / 488.2 MB, free: 14.31 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003816/0.2168, allocations: 0.7579 MB / 488.9 MB, free: 13.72 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004726/0.2173, allocations: 46.36 kB / 489 MB, free: 13.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004445/0.2217, allocations: 5.088 MB / 494.1 MB, free: 10.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.222, allocations: 320 kB / 494.4 MB, free: 10.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001799/0.2222, allocations: 64.39 kB / 494.4 MB, free: 10.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001637/0.2224, allocations: 233.5 kB / 494.7 MB, free: 10.04 MB / 410.7 MB Notification: Performance of SimCode: time 2.295e-06/0.2224, allocations: 5.062 kB / 494.7 MB, free: 10.04 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04382/0.2662, allocations: 12.94 MB / 0.4957 GB, free: 7.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.54/7.806, allocations: 4.938 kB / 0.4957 GB, free: 7.816 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.823460069485009]