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.001046/0.001046, allocations: 104.7 kB / 17.63 MB, free: 5.344 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.001038/0.001038, allocations: 192 kB / 18.56 MB, free: 4.434 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.389/1.389, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.3237/0.3237, allocations: 44.18 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002242/0.002242, allocations: 64.02 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1102, allocations: 60.83 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007122/0.1173, allocations: 5.304 MB / 474.7 MB, free: 8.926 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002828/0.1202, allocations: 1.573 MB / 476.2 MB, free: 7.344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000606/0.1208, allocations: 20 kB / 476.3 MB, free: 7.324 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003796/0.1247, allocations: 1.602 MB / 477.9 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001602/0.1263, allocations: 309.6 kB / 478.2 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001721/0.128, allocations: 0.6758 MB / 478.8 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001228/0.1293, allocations: 0.7932 MB / 479.6 MB, free: 3.941 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00151/0.1308, allocations: 0.7331 MB / 480.4 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005904/0.1314, allocations: 338.7 kB / 480.7 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006636/0.1321, allocations: 466.2 kB / 481.2 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001701/0.1322, allocations: 76 kB / 481.2 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005336/0.1328, allocations: 187.8 kB / 481.4 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.133, allocations: 175.4 kB / 481.6 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005013/0.1335, allocations: 429.9 kB / 482 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00128/0.1348, allocations: 1.145 MB / 483.1 MB, free: 416 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1348, allocations: 4 kB / 483.2 MB, free: 412 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1348, allocations: 0 / 483.2 MB, free: 412 kB / 350.1 MB Notification: Performance of Transformations before backend: time 3.475e-05/0.1348, allocations: 0 / 483.2 MB, free: 412 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.003908/0.1387, allocations: 1.354 MB / 484.5 MB, free: 15 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.1388, allocations: 8.031 kB / 484.5 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002024/0.139, allocations: 152.4 kB / 484.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001576/0.1406, allocations: 227.7 kB / 484.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.1408, allocations: 255.9 kB / 485.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001403/0.141, allocations: 82.3 kB / 485.2 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001613/0.1412, allocations: 103.9 kB / 485.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001575/0.1427, allocations: 0.9283 MB / 486.2 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.778e-05/0.1428, allocations: 4 kB / 486.2 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.533e-05/0.1429, allocations: 40 kB / 486.3 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/0.1429, allocations: 27.94 kB / 486.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001268/0.1442, allocations: 0.7184 MB / 487 MB, free: 12.4 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004939/0.1491, allocations: 3.948 MB / 491 MB, free: 8.121 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002391/0.1516, allocations: 3.391 MB / 494.4 MB, free: 4.082 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003855/0.152, allocations: 290.1 kB / 494.7 MB, free: 3.789 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000106/0.1521, allocations: 93.42 kB / 494.7 MB, free: 3.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.1521, allocations: 46.83 kB / 494.8 MB, free: 3.625 MB / 366.1 MB Notification: Performance of pre-optimization done (n=66): time 2.445e-06/0.1521, allocations: 4 kB / 494.8 MB, free: 3.621 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.002786/0.1549, allocations: 1.32 MB / 496.1 MB, free: 2.211 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.144e-05/0.155, allocations: 140.5 kB / 496.3 MB, free: 2.043 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004615/0.1555, allocations: 314.8 kB / 496.6 MB, free: 1.727 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.535e-05/0.1556, allocations: 37.7 kB / 496.6 MB, free: 1.684 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002656/0.1558, allocations: 402.4 kB / 497 MB, free: 1.281 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000195/0.156, allocations: 232.6 kB / 497.2 MB, free: 1.051 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002415/0.1563, allocations: 142.6 kB / 497.4 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1565, allocations: 354.7 kB / 497.7 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003633/0.1568, allocations: 197.9 kB / 497.9 MB, free: 368 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000492/0.1573, allocations: 404.6 kB / 498.3 MB, free: 15.89 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008286/0.1582, allocations: 0.6263 MB / 498.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.1582, allocations: 0 / 498.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00151/0.1597, allocations: 0.8898 MB / 499.8 MB, free: 14.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.1597, allocations: 10.5 kB / 499.8 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.928e-05/0.1598, allocations: 8 kB / 499.8 MB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007121/0.1605, allocations: 227.4 kB / 0.4883 GB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004545/0.161, allocations: 135.8 kB / 0.4885 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005763/0.1667, allocations: 6.694 MB / 0.495 GB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005822/0.1673, allocations: 90.95 kB / 0.4951 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.957e-05/0.1674, allocations: 39.94 kB / 0.4951 GB, free: 6.508 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.0004075/0.1678, allocations: 223.2 kB / 0.4953 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/0.168, allocations: 39.53 kB / 0.4954 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001279/0.1693, allocations: 0.6871 MB / 0.496 GB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.1693, allocations: 8 kB / 0.496 GB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.531e-05/0.1694, allocations: 4 kB / 0.4961 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.1694, allocations: 11.92 kB / 0.4961 GB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002568/0.172, allocations: 1.578 MB / 0.4976 GB, free: 3.867 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/0.172, allocations: 7.938 kB / 0.4976 GB, free: 3.859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002502/0.1722, allocations: 71.91 kB / 0.4977 GB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005342/0.1728, allocations: 211.2 kB / 0.4979 GB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.052e-05/0.1728, allocations: 15.98 kB / 0.4979 GB, free: 3.555 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2096/0.3825, allocations: 6.691 MB / 0.5044 GB, free: 45.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.3825, allocations: 1.625 kB / 0.5044 GB, free: 45.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001656/0.3842, allocations: 1.184 MB / 0.5056 GB, free: 45.42 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002092/0.3844, allocations: 127.7 kB / 0.5057 GB, free: 45.33 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.702e-05/0.3845, allocations: 14.83 kB / 0.5057 GB, free: 45.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000403/0.3849, allocations: 16.22 kB / 0.5057 GB, free: 45.33 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001679/0.3851, allocations: 60.66 kB / 0.5058 GB, free: 45.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.281e-05/0.3852, allocations: 16.94 kB / 0.5058 GB, free: 45.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002842/0.3855, allocations: 213.8 kB / 0.506 GB, free: 45.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3855, allocations: 5.438 kB / 0.506 GB, free: 45.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009864/0.3865, allocations: 280.6 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.001651/0.3881, allocations: 1.761 MB / 0.508 GB, free: 44.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001533/0.3897, allocations: 1.095 MB / 0.5091 GB, free: 43.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3897, allocations: 3.594 kB / 0.5091 GB, free: 43.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007522/0.3904, allocations: 0.7731 MB / 0.5098 GB, free: 42.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006648/0.3911, allocations: 47.89 kB / 0.5099 GB, free: 42.81 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006251/0.3974, allocations: 5.17 MB / 0.5149 GB, free: 39.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005165/0.3979, allocations: 0.9096 MB / 0.5158 GB, free: 38.72 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003152/0.3982, allocations: 69.16 kB / 0.5159 GB, free: 38.69 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/0.3985, allocations: 233.5 kB / 0.5161 GB, free: 38.51 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3985, allocations: 0 / 0.5161 GB, free: 38.51 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03818/0.4367, allocations: 11.45 MB / 0.5273 GB, free: 35.05 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.645/10.08, allocations: 6.703 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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