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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 104.1 kB / 17.63 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 192 kB / 18.56 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 222.9 MB / 242.3 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.239/0.239, allocations: 44.18 MB / 336.6 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 60.44 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1218, allocations: 60.83 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007022/0.1289, allocations: 5.309 MB / 474.7 MB, free: 8.938 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002981/0.1319, allocations: 1.576 MB / 476.3 MB, free: 7.352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005944/0.1325, allocations: 16 kB / 476.3 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003333/0.1359, allocations: 1.59 MB / 477.9 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009684/0.1369, allocations: 305.6 kB / 478.2 MB, free: 5.441 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001392/0.1383, allocations: 0.6857 MB / 478.8 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001245/0.1396, allocations: 0.7932 MB / 479.6 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001293/0.1409, allocations: 0.7214 MB / 480.4 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006649/0.1415, allocations: 350.7 kB / 480.7 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000851/0.1424, allocations: 466.2 kB / 481.2 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002002/0.1426, allocations: 72 kB / 481.2 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005553/0.1432, allocations: 187.9 kB / 481.4 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001581/0.1433, allocations: 175.4 kB / 481.6 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004916/0.1438, allocations: 425.9 kB / 482 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00116/0.145, allocations: 1.148 MB / 483.1 MB, free: 436 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.145, allocations: 0 / 483.1 MB, free: 436 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.145, allocations: 0 / 483.1 MB, free: 436 kB / 350.1 MB Notification: Performance of Transformations before backend: time 3.543e-05/0.1451, allocations: 0 / 483.1 MB, free: 436 kB / 350.1 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.003713/0.1488, allocations: 1.362 MB / 484.5 MB, free: 15.01 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.1489, allocations: 8.031 kB / 484.5 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002287/0.1491, allocations: 152.4 kB / 484.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001421/0.1505, allocations: 231.7 kB / 484.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.1508, allocations: 255.9 kB / 485.1 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001434/0.151, allocations: 86.3 kB / 485.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001783/0.1512, allocations: 99.91 kB / 485.3 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001688/0.1529, allocations: 0.9321 MB / 486.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.602e-05/0.1529, allocations: 0 / 486.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.079e-05/0.153, allocations: 40 kB / 486.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.124e-05/0.153, allocations: 24 kB / 486.3 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/0.1544, allocations: 0.7262 MB / 487 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005205/0.1596, allocations: 3.94 MB / 491 MB, free: 8.137 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002558/0.1622, allocations: 3.381 MB / 494.4 MB, free: 4.113 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003927/0.1626, allocations: 296.4 kB / 494.7 MB, free: 3.812 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.814e-05/0.1627, allocations: 101.4 kB / 494.8 MB, free: 3.695 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.1627, allocations: 38.89 kB / 494.8 MB, free: 3.648 MB / 366.1 MB Notification: Performance of pre-optimization done (n=66): time 2.464e-06/0.1627, allocations: 0 / 494.8 MB, free: 3.648 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.002577/0.1653, allocations: 1.319 MB / 496.1 MB, free: 2.238 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.755e-05/0.1654, allocations: 136.5 kB / 496.2 MB, free: 2.074 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000401/0.1658, allocations: 326.7 kB / 496.6 MB, free: 1.746 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/0.1658, allocations: 33.7 kB / 496.6 MB, free: 1.707 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002121/0.1661, allocations: 398.4 kB / 497 MB, free: 1.309 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001631/0.1662, allocations: 240.6 kB / 497.2 MB, free: 1.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001932/0.1664, allocations: 142.6 kB / 497.4 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.1666, allocations: 358.7 kB / 497.7 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003394/0.1669, allocations: 197.9 kB / 497.9 MB, free: 384 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004791/0.1674, allocations: 400.6 kB / 498.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009816/0.1684, allocations: 0.6223 MB / 498.9 MB, free: 15.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.325e-06/0.1684, allocations: 4 kB / 498.9 MB, free: 15.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00156/0.17, allocations: 0.886 MB / 499.8 MB, free: 14.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.17, allocations: 8 kB / 499.8 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.17, allocations: 4 kB / 499.8 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006406/0.1707, allocations: 227.4 kB / 0.4883 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004489/0.1712, allocations: 135.8 kB / 0.4884 GB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00568/0.1768, allocations: 6.698 MB / 0.495 GB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005533/0.1774, allocations: 98.95 kB / 0.4951 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.026e-05/0.1775, allocations: 31.94 kB / 0.4951 GB, free: 6.531 MB / 382.1 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.0004296/0.178, allocations: 229.6 kB / 0.4953 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/0.1781, allocations: 43.53 kB / 0.4954 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001209/0.1793, allocations: 0.6793 MB / 0.496 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.1793, allocations: 8 kB / 0.496 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.504e-05/0.1794, allocations: 11.98 kB / 0.4961 GB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.1794, allocations: 7.922 kB / 0.4961 GB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002601/0.182, allocations: 1.569 MB / 0.4976 GB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.182, allocations: 3.984 kB / 0.4976 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002418/0.1823, allocations: 63.92 kB / 0.4977 GB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006557/0.1829, allocations: 219.2 kB / 0.4979 GB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.73e-05/0.183, allocations: 12 kB / 0.4979 GB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2327/0.4157, allocations: 6.693 MB / 0.5044 GB, free: 45.83 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.4157, allocations: 6.828 kB / 0.5044 GB, free: 45.83 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001504/0.4172, allocations: 1.188 MB / 0.5056 GB, free: 45.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/0.4174, allocations: 139.8 kB / 0.5057 GB, free: 45.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.551e-05/0.4175, allocations: 15.44 kB / 0.5057 GB, free: 45.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003485/0.4178, allocations: 17.12 kB / 0.5057 GB, free: 45.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.4179, allocations: 58.91 kB / 0.5058 GB, free: 45.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.3e-05/0.418, allocations: 18.7 kB / 0.5058 GB, free: 45.33 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002919/0.4183, allocations: 209.6 kB / 0.506 GB, free: 45.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4183, allocations: 0 / 0.506 GB, free: 45.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001051/0.4194, allocations: 274.7 kB / 0.5063 GB, free: 45.23 MB / 382.1 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.001718/0.4211, allocations: 1.765 MB / 0.508 GB, free: 44.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00161/0.4227, allocations: 1.094 MB / 0.5091 GB, free: 43.42 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.4227, allocations: 1.188 kB / 0.5091 GB, free: 43.42 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007858/0.4235, allocations: 0.7817 MB / 0.5098 GB, free: 42.83 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006587/0.4242, allocations: 44.86 kB / 0.5099 GB, free: 42.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006628/0.4308, allocations: 5.168 MB / 0.5149 GB, free: 39.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005376/0.4314, allocations: 0.9144 MB / 0.5158 GB, free: 38.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003267/0.4317, allocations: 63.06 kB / 0.5159 GB, free: 38.69 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002422/0.432, allocations: 229.9 kB / 0.5161 GB, free: 38.51 MB / 382.1 MB Notification: Performance of SimCode: time 1.022e-06/0.432, allocations: 4 kB / 0.5161 GB, free: 38.51 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05799/0.49, allocations: 11.44 MB / 0.5273 GB, free: 35.05 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.33/9.82, allocations: 15 kB / 0.5273 GB, free: 35.04 MB / 382.1 MB (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) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches