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.001595/0.001595, allocations: 105.1 kB / 16.27 MB, free: 5.984 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.001492/0.001492, allocations: 187.3 kB / 17.19 MB, free: 5.605 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.635/1.635, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2386/0.2386, allocations: 43.52 MB / 313.9 MB, free: 0.5273 MB / 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.002393/0.002393, allocations: 75.38 kB / 382.8 MB, free: 56.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1437, allocations: 57.79 MB / 440.6 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007107/0.1509, allocations: 5.278 MB / 445.9 MB, free: 1.488 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003427/0.1544, allocations: 1.616 MB / 447.5 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003694/0.1548, allocations: 20 kB / 447.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004281/0.1591, allocations: 1.587 MB / 449.1 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.1606, allocations: 305.7 kB / 449.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0019/0.1625, allocations: 0.6775 MB / 450.1 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001423/0.1639, allocations: 0.7931 MB / 450.9 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001686/0.1656, allocations: 0.7409 MB / 451.6 MB, free: 11.72 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006675/0.1663, allocations: 330.8 kB / 452 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009378/0.1673, allocations: 470.1 kB / 452.4 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002177/0.1675, allocations: 76 kB / 452.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007146/0.1682, allocations: 187.8 kB / 452.7 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000231/0.1685, allocations: 179.3 kB / 452.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007365/0.1692, allocations: 421.9 kB / 453.3 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00167/0.1709, allocations: 1.145 MB / 454.4 MB, free: 8.938 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.1709, allocations: 0 / 454.4 MB, free: 8.938 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1709, allocations: 0 / 454.4 MB, free: 8.938 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.97e-05/0.171, allocations: 0 / 454.4 MB, free: 8.938 MB / 334.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.004997/0.176, allocations: 1.35 MB / 455.8 MB, free: 7.535 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.782e-05/0.176, allocations: 15.83 kB / 455.8 MB, free: 7.52 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002165/0.1763, allocations: 148.4 kB / 455.9 MB, free: 7.367 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002397/0.1787, allocations: 227.7 kB / 456.1 MB, free: 7.145 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003624/0.1791, allocations: 263.7 kB / 456.4 MB, free: 6.848 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001981/0.1793, allocations: 82.3 kB / 456.5 MB, free: 6.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002248/0.1795, allocations: 100 kB / 456.6 MB, free: 6.672 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002357/0.1819, allocations: 0.9283 MB / 457.5 MB, free: 5.723 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.817e-05/0.182, allocations: 3.906 kB / 457.5 MB, free: 5.719 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/0.1821, allocations: 44 kB / 457.6 MB, free: 5.676 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.66e-05/0.1821, allocations: 24 kB / 457.6 MB, free: 5.652 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001998/0.1842, allocations: 0.7184 MB / 458.3 MB, free: 4.938 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008293/0.1925, allocations: 3.952 MB / 462.3 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004025/0.1965, allocations: 3.371 MB / 465.6 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000659/0.1972, allocations: 294.5 kB / 465.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001445/0.1974, allocations: 101.4 kB / 466 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.554e-05/0.1975, allocations: 46.83 kB / 466.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 4.439e-06/0.1975, allocations: 0 / 466.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.004191/0.2017, allocations: 1.324 MB / 467.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.449e-05/0.2018, allocations: 140.5 kB / 467.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000618/0.2025, allocations: 318.8 kB / 467.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.7e-05/0.2025, allocations: 41.7 kB / 467.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003357/0.2029, allocations: 398.3 kB / 468.3 MB, free: 9.812 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002485/0.2032, allocations: 224.8 kB / 468.5 MB, free: 9.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003059/0.2035, allocations: 146.5 kB / 468.6 MB, free: 9.441 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.2037, allocations: 354.7 kB / 469 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006025/0.2043, allocations: 197.9 kB / 469.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007732/0.2051, allocations: 404.6 kB / 469.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001355/0.2064, allocations: 0.6192 MB / 470.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-05/0.2065, allocations: 7.938 kB / 470.2 MB, free: 7.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002328/0.2088, allocations: 0.8853 MB / 471.1 MB, free: 6.809 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/0.2089, allocations: 8 kB / 471.1 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.2089, allocations: 4 kB / 471.1 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009604/0.2099, allocations: 227.4 kB / 471.3 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000708/0.2106, allocations: 135.8 kB / 471.4 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008112/0.2187, allocations: 6.709 MB / 478.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000856/0.2196, allocations: 83.11 kB / 478.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.341e-05/0.2197, allocations: 35.94 kB / 478.3 MB, free: 15.05 MB / 366.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.0004948/0.2202, allocations: 227 kB / 478.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002223/0.2205, allocations: 39.53 kB / 478.5 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001832/0.2223, allocations: 0.6987 MB / 479.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/0.2223, allocations: 4 kB / 479.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.2223, allocations: 8 kB / 479.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/0.2224, allocations: 11.92 kB / 479.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003686/0.2261, allocations: 1.577 MB / 480.8 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.2261, allocations: 0 / 480.8 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003971/0.2265, allocations: 63.91 kB / 480.9 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007756/0.2273, allocations: 227.5 kB / 481.1 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.664e-05/0.2274, allocations: 15.98 kB / 481.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008382/0.2357, allocations: 6.686 MB / 487.8 MB, free: 4.828 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.266e-05/0.2358, allocations: 7.875 kB / 487.8 MB, free: 4.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002605/0.2384, allocations: 1.186 MB / 489 MB, free: 3.602 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002328/0.2387, allocations: 124.5 kB / 489.1 MB, free: 3.461 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.159e-05/0.2388, allocations: 12 kB / 489.1 MB, free: 3.449 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005781/0.2394, allocations: 23.98 kB / 489.2 MB, free: 3.426 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000174/0.2396, allocations: 51.88 kB / 489.2 MB, free: 3.375 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.371e-05/0.2396, allocations: 23.98 kB / 489.2 MB, free: 3.352 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003981/0.24, allocations: 214 kB / 489.4 MB, free: 3.145 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2401, allocations: 0 / 489.4 MB, free: 3.145 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001701/0.2418, allocations: 271.2 kB / 489.7 MB, free: 2.879 MB / 366.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.002808/0.2446, allocations: 1.755 MB / 491.5 MB, free: 1.078 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002522/0.2471, allocations: 1.111 MB / 492.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.2471, allocations: 3.938 kB / 492.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001267/0.2484, allocations: 0.772 MB / 493.3 MB, free: 15.08 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.2496, allocations: 41.52 kB / 493.4 MB, free: 15.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009849/0.2595, allocations: 5.192 MB / 498.6 MB, free: 9.586 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005592/0.2601, allocations: 0.9112 MB / 499.5 MB, free: 8.645 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003042/0.2604, allocations: 72.47 kB / 499.6 MB, free: 8.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002662/0.2607, allocations: 227.4 kB / 499.8 MB, free: 8.348 MB / 382.1 MB Notification: Performance of SimCode: time 1.272e-06/0.2607, allocations: 0 / 499.8 MB, free: 8.348 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0384/0.2991, allocations: 11.41 MB / 0.4992 GB, free: 12.96 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.459/9.758, allocations: 18.89 kB / 0.4992 GB, free: 12.94 MB / 398.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