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: translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001144, allocations: 110.3 kB / 17.98 MB, free: 5.238 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.001251/0.001251, allocations: 193.3 kB / 18.9 MB, free: 4.32 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.348/1.348, allocations: 222.9 MB / 242.6 MB, free: 15.43 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.2055/0.2055, allocations: 44.18 MB / 336.9 MB, free: 2.938 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 73.17 kB / 408.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1184, allocations: 60.83 MB / 469.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.006602/0.1251, allocations: 5.285 MB / 474.7 MB, free: 9.406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002972/0.1281, allocations: 1.561 MB / 476.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006479/0.1288, allocations: 16 kB / 476.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00349/0.1323, allocations: 1.505 MB / 477.8 MB, free: 6.312 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001056/0.1334, allocations: 262.3 kB / 478 MB, free: 6.055 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001452/0.1348, allocations: 0.6314 MB / 478.6 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001162/0.136, allocations: 0.7854 MB / 479.4 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001639/0.1377, allocations: 0.8342 MB / 480.3 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005164/0.1382, allocations: 342.7 kB / 480.6 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006566/0.1389, allocations: 466.1 kB / 481 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001672/0.139, allocations: 72 kB / 481.1 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005161/0.1396, allocations: 191.8 kB / 481.3 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001315/0.1397, allocations: 175.4 kB / 481.5 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003725/0.1401, allocations: 425.9 kB / 481.9 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000905/0.141, allocations: 0.9195 MB / 482.8 MB, free: 1.219 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.141, allocations: 0 / 482.8 MB, free: 1.219 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.141, allocations: 0 / 482.8 MB, free: 1.219 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.1411, allocations: 0 / 482.8 MB, free: 1.219 MB / 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.003222/0.1443, allocations: 1.35 MB / 484.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.1443, allocations: 12.03 kB / 484.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001394/0.1457, allocations: 219.8 kB / 484.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002484/0.146, allocations: 259.7 kB / 484.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001353/0.1461, allocations: 78.56 kB / 484.7 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/0.1463, allocations: 107.8 kB / 484.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/0.1478, allocations: 0.9398 MB / 485.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.08e-05/0.1478, allocations: 0 / 485.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.811e-05/0.1479, allocations: 43.94 kB / 485.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/0.148, allocations: 24 kB / 485.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.1491, allocations: 0.7223 MB / 486.6 MB, free: 13.37 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004763/0.1539, allocations: 3.948 MB / 490.5 MB, free: 9.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002438/0.1564, allocations: 3.387 MB / 493.9 MB, free: 5.059 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000382/0.1568, allocations: 296.3 kB / 494.2 MB, free: 4.762 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.906e-05/0.1569, allocations: 93.42 kB / 494.3 MB, free: 4.652 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.1569, allocations: 42.89 kB / 494.3 MB, free: 4.602 MB / 366.1 MB Notification: Performance of pre-optimization done (n=66): time 2.615e-06/0.1569, allocations: 4 kB / 494.3 MB, free: 4.598 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.002583/0.1595, allocations: 1.323 MB / 495.6 MB, free: 3.184 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.894e-05/0.1596, allocations: 140.5 kB / 495.8 MB, free: 3.016 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003495/0.16, allocations: 318.8 kB / 496.1 MB, free: 2.695 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.327e-05/0.16, allocations: 33.7 kB / 496.1 MB, free: 2.656 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002088/0.1602, allocations: 394.5 kB / 496.5 MB, free: 2.262 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001632/0.1604, allocations: 244.6 kB / 496.7 MB, free: 2.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/0.1606, allocations: 138.6 kB / 496.9 MB, free: 1.879 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1607, allocations: 358.7 kB / 497.2 MB, free: 1.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003231/0.161, allocations: 197.9 kB / 497.4 MB, free: 1.328 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004537/0.1615, allocations: 404.6 kB / 497.8 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007743/0.1623, allocations: 0.6197 MB / 498.4 MB, free: 156 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.1623, allocations: 4 kB / 498.4 MB, free: 152 kB / 366.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001389/0.1637, allocations: 0.8775 MB / 499.3 MB, free: 15.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.1637, allocations: 12.09 kB / 499.3 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.1638, allocations: 4 kB / 499.3 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006133/0.1644, allocations: 231.2 kB / 499.6 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004547/0.1648, allocations: 147.7 kB / 499.7 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005273/0.1701, allocations: 6.705 MB / 0.4945 GB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004658/0.1706, allocations: 87.06 kB / 0.4946 GB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-05/0.1707, allocations: 36.11 kB / 0.4947 GB, free: 7.469 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.0003094/0.171, allocations: 221.6 kB / 0.4949 GB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.1711, allocations: 51.5 kB / 0.4949 GB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001166/0.1723, allocations: 0.6831 MB / 0.4956 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.1723, allocations: 8 kB / 0.4956 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.1723, allocations: 4 kB / 0.4956 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.1723, allocations: 7.984 kB / 0.4956 GB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002264/0.1746, allocations: 1.569 MB / 0.4971 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.1746, allocations: 4 kB / 0.4971 GB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/0.1749, allocations: 67.91 kB / 0.4972 GB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004998/0.1754, allocations: 219.2 kB / 0.4974 GB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.251e-05/0.1754, allocations: 12 kB / 0.4974 GB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1878/0.3632, allocations: 6.686 MB / 0.504 GB, free: 46.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.3633, allocations: 7.25 kB / 0.504 GB, free: 46.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/0.3648, allocations: 1.185 MB / 0.5051 GB, free: 45.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.365, allocations: 131.1 kB / 0.5052 GB, free: 45.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.517e-05/0.365, allocations: 12.92 kB / 0.5053 GB, free: 45.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003311/0.3654, allocations: 12.61 kB / 0.5053 GB, free: 45.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.3655, allocations: 55.73 kB / 0.5053 GB, free: 45.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.915e-05/0.3655, allocations: 21.52 kB / 0.5053 GB, free: 45.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002815/0.3658, allocations: 219.8 kB / 0.5056 GB, free: 45.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3658, allocations: 0 / 0.5056 GB, free: 45.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001133/0.367, allocations: 274.6 kB / 0.5058 GB, free: 45.44 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.0002795/0.3673, allocations: 136.2 kB / 0.5059 GB, free: 45.35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001677/0.369, allocations: 1.095 MB / 0.507 GB, free: 44.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.369, allocations: 1.156 kB / 0.507 GB, free: 44.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007552/0.3697, allocations: 0.7788 MB / 0.5078 GB, free: 44.42 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006773/0.3704, allocations: 53.84 kB / 0.5078 GB, free: 44.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002111/0.3725, allocations: 1.626 MB / 0.5094 GB, free: 43.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004571/0.373, allocations: 0.911 MB / 0.5103 GB, free: 42.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.3731, allocations: 39.27 kB / 0.5103 GB, free: 42.65 MB / 382.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3731, allocations: 1.219 kB / 0.5103 GB, free: 42.65 MB / 382.1 MB Notification: Performance of Templates: time 0.01948/0.3926, allocations: 19.39 MB / 0.5293 GB, free: 33.79 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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