Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.0008685/0.0008685, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001071/0.001071, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9458/0.9458, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2537/0.2537, allocations: 32.79 MB / 293.5 MB, free: 1.223 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.096e-06/3.096e-06, allocations: 0 / 439.6 MB, free: 4.246 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.656e-05/3.965e-05, allocations: 2.844 kB / 439.6 MB, free: 4.242 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.207/0.207, allocations: 4.749 MB / 444.3 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002183/0.2092, allocations: 1.581 MB / 445.9 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002716/0.2095, allocations: 18.72 kB / 445.9 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001423/0.2109, allocations: 1.569 MB / 447.5 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004793/0.2114, allocations: 325 kB / 447.8 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000661/0.2121, allocations: 495.7 kB / 448.3 MB, free: 42.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004421/0.2125, allocations: 0.8452 MB / 449.2 MB, free: 42.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006185/0.2131, allocations: 0.6279 MB / 449.8 MB, free: 41.69 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003508/0.2135, allocations: 0.5112 MB / 450.3 MB, free: 41.46 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002511/0.2137, allocations: 346.9 kB / 450.6 MB, free: 41.35 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.969e-05/0.2138, allocations: 73.81 kB / 450.7 MB, free: 41.35 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002623/0.214, allocations: 189.7 kB / 450.9 MB, free: 41.31 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.764e-05/0.2141, allocations: 180 kB / 451.1 MB, free: 41.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.2142, allocations: 288.7 kB / 451.3 MB, free: 41.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000655/0.2149, allocations: 1.187 MB / 452.5 MB, free: 40.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.2149, allocations: 3.938 kB / 452.5 MB, free: 40.58 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2149, allocations: 0 / 452.5 MB, free: 40.58 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.2149, allocations: 0 / 452.5 MB, free: 40.58 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.001666/0.2166, allocations: 1.29 MB / 453.8 MB, free: 39.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.2166, allocations: 9.625 kB / 453.8 MB, free: 39.85 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.259e-05/0.2167, allocations: 151.1 kB / 454 MB, free: 39.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007532/0.2175, allocations: 237.3 kB / 454.2 MB, free: 39.67 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.2176, allocations: 206.1 kB / 454.4 MB, free: 39.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.829e-05/0.2177, allocations: 75.06 kB / 454.5 MB, free: 39.44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.413e-05/0.2177, allocations: 99.78 kB / 454.6 MB, free: 39.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008468/0.2186, allocations: 0.9365 MB / 455.5 MB, free: 39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.666e-05/0.2186, allocations: 10.38 kB / 455.5 MB, free: 38.99 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.62e-05/0.2187, allocations: 38.28 kB / 455.6 MB, free: 38.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/0.2187, allocations: 25.84 kB / 455.6 MB, free: 38.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007109/0.2194, allocations: 0.7214 MB / 456.3 MB, free: 38.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002506/0.2219, allocations: 2.829 MB / 459.1 MB, free: 36.83 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008905/0.2228, allocations: 0.7747 MB / 459.9 MB, free: 36.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002124/0.223, allocations: 263.1 kB / 460.2 MB, free: 36.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.158e-05/0.2231, allocations: 31.05 kB / 460.2 MB, free: 36.35 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.2231, allocations: 47.73 kB / 460.3 MB, free: 36.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=66): time 2.405e-06/0.2231, allocations: 0 / 460.3 MB, free: 36.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=66): time 0.00134/0.2244, allocations: 1.012 MB / 461.3 MB, free: 35.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.2245, allocations: 142.6 kB / 461.4 MB, free: 35.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/0.2247, allocations: 325.6 kB / 461.7 MB, free: 35.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.2247, allocations: 36.77 kB / 461.8 MB, free: 35.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.2248, allocations: 412.1 kB / 462.2 MB, free: 35.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.738e-05/0.2249, allocations: 235.5 kB / 462.4 MB, free: 35.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.225, allocations: 149.9 kB / 462.5 MB, free: 34.94 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.894e-05/0.225, allocations: 355.9 kB / 462.9 MB, free: 34.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/0.2252, allocations: 196.3 kB / 463.1 MB, free: 34.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002615/0.2255, allocations: 399.4 kB / 463.5 MB, free: 34.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004773/0.226, allocations: 0.6289 MB / 464.1 MB, free: 33.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.226, allocations: 2.969 kB / 464.1 MB, free: 33.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0008004/0.2268, allocations: 0.8809 MB / 465 MB, free: 33.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.2268, allocations: 10.16 kB / 465 MB, free: 33.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.2268, allocations: 7.219 kB / 465 MB, free: 33.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003646/0.2272, allocations: 220.8 kB / 465.2 MB, free: 33.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002408/0.2274, allocations: 141 kB / 465.4 MB, free: 33.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002635/0.23, allocations: 6.254 MB / 471.6 MB, free: 27.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002659/0.2303, allocations: 83.55 kB / 471.7 MB, free: 27.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-05/0.2303, allocations: 38.86 kB / 471.7 MB, free: 27.5 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.0002202/0.2306, allocations: 222.1 kB / 471.9 MB, free: 27.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.25e-05/0.2306, allocations: 49.12 kB / 472 MB, free: 27.28 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000778/0.2314, allocations: 0.6815 MB / 472.7 MB, free: 26.94 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.2314, allocations: 6.375 kB / 472.7 MB, free: 26.94 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.2314, allocations: 13.61 kB / 472.7 MB, free: 26.94 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.2314, allocations: 3.422 kB / 472.7 MB, free: 26.94 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001452/0.2329, allocations: 1.458 MB / 474.2 MB, free: 26.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.2329, allocations: 0 / 474.2 MB, free: 26.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.233, allocations: 73.84 kB / 474.2 MB, free: 26.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003094/0.2333, allocations: 215.9 kB / 474.4 MB, free: 26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/0.2334, allocations: 14.03 kB / 474.5 MB, free: 25.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002416/0.2358, allocations: 6.237 MB / 480.7 MB, free: 20.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.2358, allocations: 3.125 kB / 480.7 MB, free: 20.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000985/0.2368, allocations: 1.187 MB / 481.9 MB, free: 19.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.827e-05/0.2369, allocations: 53.97 kB / 481.9 MB, free: 19.49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.845e-05/0.2369, allocations: 18.41 kB / 481.9 MB, free: 19.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.2371, allocations: 13.66 kB / 482 MB, free: 19.47 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.2372, allocations: 60.75 kB / 482 MB, free: 19.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.2372, allocations: 22.56 kB / 482 MB, free: 19.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001624/0.2374, allocations: 213.5 kB / 482.3 MB, free: 19.33 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2374, allocations: 4 kB / 482.3 MB, free: 19.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008802/0.2382, allocations: 282.4 kB / 482.5 MB, free: 19.25 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.001177/0.2394, allocations: 1.762 MB / 484.3 MB, free: 17.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.2405, allocations: 1.046 MB / 485.3 MB, free: 17.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.2405, allocations: 448 / 485.3 MB, free: 17.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004135/0.2409, allocations: 0.7691 MB / 486.1 MB, free: 16.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005101/0.2414, allocations: 48.06 kB / 486.2 MB, free: 16.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004686/0.2461, allocations: 5.074 MB / 491.2 MB, free: 13.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.2464, allocations: 320.8 kB / 491.5 MB, free: 13.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001727/0.2466, allocations: 63.88 kB / 491.6 MB, free: 13.17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/0.2468, allocations: 237.9 kB / 491.8 MB, free: 12.99 MB / 410.7 MB Notification: Performance of SimCode: time 1.122e-06/0.2468, allocations: 4 kB / 491.8 MB, free: 12.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03972/0.2865, allocations: 12.92 MB / 0.4929 GB, free: 10.77 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.4/7.686, allocations: 13.84 kB / 0.4929 GB, free: 10.77 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.csv. Warning: Get data of variable quarterHollowSphere.port_p.reference.gamma from file ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.860080959275365]