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.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001634/0.001634, allocations: 106.8 kB / 16.41 MB, free: 6.406 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.001732/0.001732, allocations: 190.9 kB / 17.34 MB, free: 5.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.518/1.518, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2212/0.2212, allocations: 43.51 MB / 314.1 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002993/0.002993, allocations: 69.45 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1338, allocations: 57.78 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.006876/0.1407, allocations: 5.285 MB / 0.4926 GB, free: 6.988 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003583/0.1443, allocations: 1.612 MB / 0.4941 GB, free: 5.363 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005628/0.145, allocations: 20 kB / 0.4942 GB, free: 5.344 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003828/0.1488, allocations: 1.595 MB / 0.4957 GB, free: 3.742 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001688/0.1505, allocations: 305.7 kB / 0.496 GB, free: 3.441 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001776/0.1523, allocations: 0.6774 MB / 0.4967 GB, free: 2.762 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001449/0.1538, allocations: 0.8047 MB / 0.4974 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001348/0.1552, allocations: 0.7329 MB / 0.4982 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000548/0.1557, allocations: 334.7 kB / 0.4985 GB, free: 0.875 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007176/0.1565, allocations: 462.2 kB / 0.4989 GB, free: 432 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001621/0.1566, allocations: 76 kB / 0.499 GB, free: 356 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006553/0.1573, allocations: 191.9 kB / 0.4992 GB, free: 164 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000207/0.1575, allocations: 171.4 kB / 0.4993 GB, free: 15.99 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005683/0.1581, allocations: 429.9 kB / 0.4998 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001813/0.1599, allocations: 1.167 MB / 0.5009 GB, free: 14.4 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.16, allocations: 0 / 0.5009 GB, free: 14.4 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.16, allocations: 0 / 0.5009 GB, free: 14.4 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.382e-05/0.16, allocations: 0 / 0.5009 GB, free: 14.4 MB / 398.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.003628/0.1636, allocations: 1.364 MB / 0.5022 GB, free: 12.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.1637, allocations: 15.89 kB / 0.5022 GB, free: 12.97 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001854/0.1639, allocations: 152.4 kB / 0.5024 GB, free: 12.81 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00147/0.1654, allocations: 228.2 kB / 0.5026 GB, free: 12.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003208/0.1657, allocations: 259.9 kB / 0.5029 GB, free: 12.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.223e-05/0.1658, allocations: 78.31 kB / 0.5029 GB, free: 12.22 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002013/0.166, allocations: 103.9 kB / 0.503 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/0.1678, allocations: 0.9322 MB / 0.5039 GB, free: 11.17 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.894e-05/0.1679, allocations: 3.953 kB / 0.5039 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-05/0.1679, allocations: 40 kB / 0.504 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.303e-05/0.168, allocations: 28 kB / 0.504 GB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001403/0.1694, allocations: 0.7221 MB / 0.5047 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00583/0.1752, allocations: 3.906 MB / 0.5085 GB, free: 6.137 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003095/0.1784, allocations: 3.387 MB / 0.5118 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004935/0.1789, allocations: 292.4 kB / 0.5121 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001311/0.1791, allocations: 93.44 kB / 0.5122 GB, free: 1.688 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.1791, allocations: 46.81 kB / 0.5122 GB, free: 1.633 MB / 398.1 MB Notification: Performance of pre-optimization done (n=66): time 3.015e-06/0.1791, allocations: 0 / 0.5122 GB, free: 1.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.00303/0.1821, allocations: 1.334 MB / 0.5135 GB, free: 216 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/0.1823, allocations: 140.6 kB / 0.5137 GB, free: 44 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005115/0.1828, allocations: 314.8 kB / 0.514 GB, free: 15.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.852e-05/0.1829, allocations: 33.7 kB / 0.514 GB, free: 15.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003338/0.1832, allocations: 411.8 kB / 0.5144 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002768/0.1835, allocations: 245.9 kB / 0.5146 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002578/0.1838, allocations: 150.6 kB / 0.5148 GB, free: 14.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.184, allocations: 350.7 kB / 0.5151 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004035/0.1844, allocations: 205.9 kB / 0.5153 GB, free: 14.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005735/0.185, allocations: 396.6 kB / 0.5157 GB, free: 13.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.186, allocations: 0.6233 MB / 0.5163 GB, free: 13.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.878e-06/0.1861, allocations: 0 / 0.5163 GB, free: 13.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001811/0.1879, allocations: 0.8776 MB / 0.5172 GB, free: 12.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.246e-05/0.188, allocations: 8 kB / 0.5172 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/0.188, allocations: 15.94 kB / 0.5172 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006954/0.1887, allocations: 219.5 kB / 0.5174 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004861/0.1892, allocations: 147.7 kB / 0.5175 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00669/0.1959, allocations: 6.702 MB / 0.5241 GB, free: 4.605 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005623/0.1965, allocations: 87.42 kB / 0.5242 GB, free: 4.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.221e-05/0.1966, allocations: 39.98 kB / 0.5242 GB, free: 4.48 MB / 414.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.0003691/0.197, allocations: 234.9 kB / 0.5244 GB, free: 4.242 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/0.1971, allocations: 43.72 kB / 0.5245 GB, free: 4.199 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/0.1985, allocations: 0.687 MB / 0.5251 GB, free: 3.484 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.1985, allocations: 4 kB / 0.5251 GB, free: 3.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/0.1985, allocations: 8 kB / 0.5251 GB, free: 3.473 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.1985, allocations: 3.984 kB / 0.5252 GB, free: 3.469 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002778/0.2013, allocations: 1.566 MB / 0.5267 GB, free: 1.832 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.2014, allocations: 4 kB / 0.5267 GB, free: 1.828 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002635/0.2016, allocations: 67.91 kB / 0.5267 GB, free: 1.762 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005877/0.2022, allocations: 211.2 kB / 0.527 GB, free: 1.543 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.929e-05/0.2023, allocations: 16 kB / 0.527 GB, free: 1.527 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2181/0.4204, allocations: 6.705 MB / 0.5335 GB, free: 34.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.4204, allocations: 2.781 kB / 0.5335 GB, free: 34.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/0.4219, allocations: 1.186 MB / 0.5347 GB, free: 34.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.422, allocations: 127.9 kB / 0.5348 GB, free: 34.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.023e-05/0.4221, allocations: 10.19 kB / 0.5348 GB, free: 34.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000345/0.4224, allocations: 16.66 kB / 0.5348 GB, free: 34.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.4226, allocations: 56.2 kB / 0.5349 GB, free: 34.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.087e-05/0.4226, allocations: 17.7 kB / 0.5349 GB, free: 34.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002549/0.4229, allocations: 217.9 kB / 0.5351 GB, free: 33.99 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.253e-06/0.4229, allocations: 0 / 0.5351 GB, free: 33.99 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001016/0.4239, allocations: 282.1 kB / 0.5354 GB, free: 33.96 MB / 414.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.001655/0.4255, allocations: 1.766 MB / 0.5371 GB, free: 33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001482/0.427, allocations: 1.073 MB / 0.5381 GB, free: 32.53 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.4271, allocations: 0 / 0.5381 GB, free: 32.53 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007431/0.4278, allocations: 0.7816 MB / 0.5389 GB, free: 32.06 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006934/0.4285, allocations: 49.23 kB / 0.539 GB, free: 32.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006136/0.4347, allocations: 5.144 MB / 0.544 GB, free: 28.88 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004341/0.4351, allocations: 0.9109 MB / 0.5449 GB, free: 28.17 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002512/0.4354, allocations: 67.28 kB / 0.5449 GB, free: 28.15 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002158/0.4356, allocations: 235.7 kB / 0.5452 GB, free: 27.96 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4356, allocations: 0 / 0.5452 GB, free: 27.96 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05514/0.4908, allocations: 11.7 MB / 0.5566 GB, free: 25.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.35, allocations: 1.562 kB / 0.5566 GB, free: 25.09 MB / 414.1 MB (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) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches