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.0009357/0.0009357, 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.001049/0.001049, allocations: 173.9 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.9304/0.9304, 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.136/0.136, 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 2.244e-06/2.244e-06, allocations: 0 / 406.8 MB, free: 13.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.681e-05/2.905e-05, allocations: 5.516 kB / 406.9 MB, free: 13.52 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.006583/0.006612, allocations: 4.709 MB / 411.6 MB, free: 8.785 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003116/0.009728, allocations: 1.546 MB / 413.1 MB, free: 7.227 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004556/0.01018, allocations: 27.94 kB / 413.1 MB, free: 7.199 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003038/0.01322, allocations: 1.555 MB / 414.7 MB, free: 5.637 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001044/0.01427, allocations: 313.5 kB / 415 MB, free: 5.328 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.01543, allocations: 0.4945 MB / 415.5 MB, free: 4.832 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001022/0.01646, allocations: 0.8431 MB / 416.3 MB, free: 3.984 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001108/0.01756, allocations: 0.6273 MB / 417 MB, free: 3.34 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007742/0.01834, allocations: 0.4989 MB / 417.5 MB, free: 2.84 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006053/0.01894, allocations: 339.1 kB / 417.8 MB, free: 2.508 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001623/0.01911, allocations: 76 kB / 417.9 MB, free: 2.434 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000462/0.01957, allocations: 191.7 kB / 418.1 MB, free: 2.246 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000137/0.0197, allocations: 175.3 kB / 418.2 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003521/0.02006, allocations: 291.3 kB / 418.5 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001392/0.02145, allocations: 1.164 MB / 419.7 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.02146, allocations: 7.938 kB / 419.7 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.02146, allocations: 0 / 419.7 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.972e-05/0.02148, allocations: 0 / 419.7 MB, free: 0.6133 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.002148/0.02363, allocations: 1.289 MB / 421 MB, free: 15.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.02367, allocations: 12.03 kB / 421 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001264/0.02379, allocations: 152.4 kB / 421.1 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007576/0.02455, allocations: 232.2 kB / 421.4 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.02471, allocations: 197.3 kB / 421.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.687e-05/0.02476, allocations: 78.31 kB / 421.6 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-05/0.02486, allocations: 100.4 kB / 421.7 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.02618, allocations: 0.9325 MB / 422.7 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.49e-05/0.02622, allocations: 3.953 kB / 422.7 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.03e-05/0.02629, allocations: 40 kB / 422.7 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.02631, allocations: 24 kB / 422.7 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.02743, allocations: 0.7221 MB / 423.4 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003184/0.03061, allocations: 2.811 MB / 426.3 MB, free: 9.812 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009/0.03151, allocations: 0.7575 MB / 427 MB, free: 9.031 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003266/0.03184, allocations: 260.5 kB / 427.3 MB, free: 8.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.441e-05/0.03192, allocations: 24.25 kB / 427.3 MB, free: 8.746 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.03194, allocations: 42.83 kB / 427.3 MB, free: 8.695 MB / 362.7 MB Notification: Performance of pre-optimization done (n=66): time 1.934e-06/0.03194, allocations: 0 / 427.3 MB, free: 8.695 MB / 362.7 MB Notification: Performance of matching and sorting (n=66): time 0.001486/0.03343, allocations: 1.023 MB / 428.4 MB, free: 7.656 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/0.03348, allocations: 136.5 kB / 428.5 MB, free: 7.492 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/0.03374, allocations: 328 kB / 428.8 MB, free: 7.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.03376, allocations: 37.7 kB / 428.8 MB, free: 7.117 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.03393, allocations: 407.8 kB / 429.2 MB, free: 6.711 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.03406, allocations: 246 kB / 429.5 MB, free: 6.469 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/0.03419, allocations: 142.6 kB / 429.6 MB, free: 6.324 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.0343, allocations: 354.7 kB / 430 MB, free: 5.969 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002398/0.03454, allocations: 197.9 kB / 430.2 MB, free: 5.773 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000309/0.03485, allocations: 400.6 kB / 430.6 MB, free: 5.305 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005655/0.03542, allocations: 0.6236 MB / 431.2 MB, free: 4.602 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.03542, allocations: 0 / 431.2 MB, free: 4.602 MB / 362.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.000975/0.03639, allocations: 0.879 MB / 432.1 MB, free: 3.703 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.03641, allocations: 8 kB / 432.1 MB, free: 3.695 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.03642, allocations: 8 kB / 432.1 MB, free: 3.688 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003831/0.03681, allocations: 223.4 kB / 432.3 MB, free: 3.457 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000291/0.0371, allocations: 139.8 kB / 432.4 MB, free: 3.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00366/0.04076, allocations: 6.253 MB / 438.7 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.04098, allocations: 87.28 kB / 438.8 MB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/0.04101, allocations: 32 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.0001872/0.0412, allocations: 233.6 kB / 439 MB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.4e-05/0.04127, allocations: 43.72 kB / 439.1 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007323/0.042, allocations: 0.6736 MB / 439.7 MB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.04201, allocations: 11.98 kB / 439.8 MB, free: 11.51 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.04201, allocations: 4 kB / 439.8 MB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.403e-06/0.04202, allocations: 4 kB / 439.8 MB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/0.04354, allocations: 1.46 MB / 441.2 MB, free: 9.977 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.04355, allocations: 0 / 441.2 MB, free: 9.977 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001354/0.04368, allocations: 71.91 kB / 441.3 MB, free: 9.906 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003032/0.04399, allocations: 215.4 kB / 441.5 MB, free: 9.684 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.04401, allocations: 12 kB / 441.5 MB, free: 9.672 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003359/0.04737, allocations: 6.238 MB / 447.7 MB, free: 2.977 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.04737, allocations: 0 / 447.7 MB, free: 2.977 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009748/0.04834, allocations: 1.186 MB / 448.9 MB, free: 1.762 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.883e-05/0.04839, allocations: 55.56 kB / 449 MB, free: 1.707 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.41e-05/0.04843, allocations: 16.11 kB / 449 MB, free: 1.691 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.04861, allocations: 16 kB / 449 MB, free: 1.676 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.214e-05/0.0487, allocations: 63.77 kB / 449.1 MB, free: 1.613 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.04872, allocations: 16 kB / 449.1 MB, free: 1.598 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002023/0.04892, allocations: 215 kB / 449.3 MB, free: 1.391 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.04892, allocations: 0 / 449.3 MB, free: 1.391 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008552/0.04977, 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.1613/0.211, allocations: 1.747 MB / 451.3 MB, free: 51.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001174/0.2122, allocations: 1.042 MB / 452.4 MB, free: 50.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.2122, allocations: 1.281 kB / 452.4 MB, free: 50.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005058/0.2127, allocations: 0.7568 MB / 453.1 MB, free: 50.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005088/0.2132, allocations: 46.77 kB / 453.2 MB, free: 50.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005231/0.2185, allocations: 5.094 MB / 458.3 MB, free: 47.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005108/0.219, allocations: 316.5 kB / 458.6 MB, free: 47.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002521/0.2192, allocations: 65.33 kB / 458.6 MB, free: 47.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002203/0.2194, allocations: 230.8 kB / 458.9 MB, free: 47.46 MB / 378.7 MB Notification: Performance of SimCode: time 1.433e-06/0.2194, allocations: 4 kB / 458.9 MB, free: 47.46 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03328/0.2527, allocations: 12.75 MB / 471.6 MB, free: 43.25 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.451/7.704, allocations: 11.92 kB / 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.808600225485861]