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.0009108/0.0009108, allocations: 93.42 kB / 17.35 MB, free: 6.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.001025/0.001025, allocations: 171.3 kB / 18.25 MB, free: 5.504 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.539/1.539, allocations: 223.3 MB / 242.3 MB, free: 14.48 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.2219/0.2219, allocations: 44.25 MB / 337.7 MB, free: 2.426 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002746/0.0002746, allocations: 8 kB / 410.3 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1316, allocations: 61.93 MB / 472.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.005592/0.1373, allocations: 4.817 MB / 477.1 MB, free: 8.469 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003196/0.1405, allocations: 1.553 MB / 478.6 MB, free: 6.906 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003861/0.1409, allocations: 23.94 kB / 478.7 MB, free: 6.883 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006263/0.1416, allocations: 254.9 kB / 478.9 MB, free: 6.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000768/0.1423, allocations: 254.4 kB / 479.2 MB, free: 6.383 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.1436, allocations: 0.6311 MB / 479.8 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009784/0.1446, allocations: 0.7581 MB / 480.5 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002624/0.1473, allocations: 1.416 MB / 482 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004916/0.1478, allocations: 290.7 kB / 482.2 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005447/0.1483, allocations: 402.2 kB / 482.6 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.352e-05/0.1484, allocations: 40 kB / 482.7 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004023/0.1488, allocations: 143.9 kB / 482.8 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.1489, allocations: 135.3 kB / 482.9 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003496/0.1493, allocations: 403.7 kB / 483.3 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001132/0.1504, allocations: 1.105 MB / 484.4 MB, free: 1.039 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.1504, allocations: 4 kB / 484.4 MB, free: 1.035 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1504, allocations: 0 / 484.4 MB, free: 1.035 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.1505, allocations: 0 / 484.4 MB, free: 1.035 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.003184/0.1537, allocations: 1.202 MB / 485.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.1537, allocations: 8.031 kB / 485.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001446/0.1552, allocations: 227.7 kB / 485.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003942/0.1556, allocations: 259.8 kB / 486.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001632/0.1557, allocations: 86.48 kB / 486.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/0.1559, allocations: 103.8 kB / 486.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0018/0.1577, allocations: 0.936 MB / 487.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.279e-05/0.1578, allocations: 3.984 kB / 487.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.203e-05/0.1579, allocations: 40 kB / 487.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.299e-05/0.1579, allocations: 24 kB / 487.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.1591, allocations: 0.7262 MB / 488 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005221/0.1644, allocations: 3.96 MB / 492 MB, free: 9.027 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002825/0.1672, allocations: 3.375 MB / 495.4 MB, free: 5.004 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004519/0.1677, allocations: 296.6 kB / 495.7 MB, free: 4.703 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001174/0.1678, allocations: 101.4 kB / 495.8 MB, free: 4.586 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.856e-05/0.1679, allocations: 42.89 kB / 495.8 MB, free: 4.535 MB / 366.1 MB Notification: Performance of pre-optimization done (n=66): time 3.316e-06/0.1679, allocations: 0 / 495.8 MB, free: 4.535 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.002727/0.1706, allocations: 1.347 MB / 497.2 MB, free: 3.098 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.363e-05/0.1707, allocations: 136.5 kB / 497.3 MB, free: 2.934 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004407/0.1712, allocations: 322.7 kB / 497.6 MB, free: 2.609 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.1712, allocations: 37.7 kB / 497.6 MB, free: 2.566 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002386/0.1715, allocations: 398.4 kB / 498 MB, free: 2.168 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001765/0.1716, allocations: 228.7 kB / 498.3 MB, free: 1.941 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.1718, allocations: 65.69 kB / 498.3 MB, free: 1.871 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1719, allocations: 362.7 kB / 498.7 MB, free: 1.508 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003351/0.1722, allocations: 193.9 kB / 498.9 MB, free: 1.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004901/0.1727, allocations: 408.6 kB / 499.3 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008299/0.1736, allocations: 0.6267 MB / 499.9 MB, free: 140 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.339e-06/0.1736, allocations: 0 / 499.9 MB, free: 140 kB / 366.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001548/0.1752, allocations: 0.8813 MB / 0.489 GB, free: 15.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.1752, allocations: 8 kB / 0.489 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.1752, allocations: 7.938 kB / 0.4891 GB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006697/0.1759, allocations: 223.4 kB / 0.4893 GB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004561/0.1763, allocations: 143.8 kB / 0.4894 GB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005479/0.1818, allocations: 6.244 MB / 0.4955 GB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006506/0.1825, allocations: 87.73 kB / 0.4956 GB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-05/0.1826, allocations: 39.94 kB / 0.4956 GB, free: 7.949 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.0004598/0.1831, allocations: 221.6 kB / 0.4958 GB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.1832, allocations: 43.64 kB / 0.4959 GB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001284/0.1845, allocations: 0.6908 MB / 0.4965 GB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.1845, allocations: 15.98 kB / 0.4966 GB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.1845, allocations: 8 kB / 0.4966 GB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.1846, allocations: 3.938 kB / 0.4966 GB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002507/0.1871, allocations: 1.573 MB / 0.4981 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.1871, allocations: 0 / 0.4981 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002376/0.1873, allocations: 63.91 kB / 0.4982 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005109/0.1878, allocations: 215.2 kB / 0.4984 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.035e-05/0.1879, allocations: 16 kB / 0.4984 GB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2741/0.4619, allocations: 6.221 MB / 0.5045 GB, free: 45.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.462, allocations: 2.469 kB / 0.5045 GB, free: 45.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/0.4637, allocations: 1.192 MB / 0.5056 GB, free: 45.28 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.4638, allocations: 126.7 kB / 0.5058 GB, free: 45.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.763e-05/0.4639, allocations: 14.22 kB / 0.5058 GB, free: 45.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003392/0.4643, allocations: 14.66 kB / 0.5058 GB, free: 45.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/0.4644, allocations: 61.2 kB / 0.5058 GB, free: 45.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-05/0.4645, allocations: 16.78 kB / 0.5059 GB, free: 45.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002881/0.4648, allocations: 215.2 kB / 0.5061 GB, free: 45.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4648, allocations: 0 / 0.5061 GB, free: 45.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001109/0.4659, allocations: 277.3 kB / 0.5063 GB, free: 45.1 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.0002569/0.4661, allocations: 136.6 kB / 0.5065 GB, free: 45.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001556/0.4677, allocations: 1.082 MB / 0.5075 GB, free: 44.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.4677, allocations: 0 / 0.5075 GB, free: 44.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007655/0.4685, allocations: 0.7832 MB / 0.5083 GB, free: 44.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006427/0.4692, allocations: 47.2 kB / 0.5083 GB, free: 44.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/0.4714, allocations: 1.647 MB / 0.5099 GB, free: 43.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004861/0.4719, allocations: 0.9135 MB / 0.5108 GB, free: 42.49 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002913/0.4722, allocations: 67.61 kB / 0.5109 GB, free: 42.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.913e-05/0.4723, allocations: 33.22 kB / 0.5109 GB, free: 42.46 MB / 382.1 MB Notification: Performance of SimCode: time 1.373e-06/0.4723, allocations: 0 / 0.5109 GB, free: 42.46 MB / 382.1 MB Notification: Performance of Templates: time 0.01481/0.4871, allocations: 6.342 MB / 0.5171 GB, free: 41.9 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins/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