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.001315/0.001315, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001513/0.001513, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.34/1.34, allocations: 222.9 MB / 243 MB, free: 15.15 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.2073/0.2073, allocations: 44.18 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 67.17 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.135, allocations: 60.82 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.006971/0.1421, allocations: 5.311 MB / 476 MB, free: 8.297 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003315/0.1454, allocations: 1.576 MB / 477.6 MB, free: 6.711 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003849/0.1458, allocations: 20 kB / 477.6 MB, free: 6.691 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003873/0.1498, allocations: 1.598 MB / 479.2 MB, free: 5.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001197/0.151, allocations: 301.7 kB / 479.5 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001566/0.1525, allocations: 0.672 MB / 480.2 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009386/0.1535, allocations: 0.8086 MB / 481 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001119/0.1546, allocations: 0.7289 MB / 481.7 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004125/0.155, allocations: 342.7 kB / 482.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005701/0.1556, allocations: 462.2 kB / 482.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.1557, allocations: 80 kB / 482.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004553/0.1562, allocations: 187.9 kB / 482.8 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001524/0.1564, allocations: 171.4 kB / 482.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004063/0.1568, allocations: 433.9 kB / 483.4 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001321/0.1581, allocations: 1.156 MB / 484.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.1581, allocations: 0 / 484.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1581, allocations: 0 / 484.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.1582, allocations: 0 / 484.5 MB, free: 15.76 MB / 366.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.003358/0.1615, allocations: 1.354 MB / 485.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.1616, allocations: 12.03 kB / 485.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001345/0.1629, allocations: 215.8 kB / 486.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002427/0.1632, allocations: 259.8 kB / 486.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.316e-05/0.1633, allocations: 74.38 kB / 486.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.1634, allocations: 108 kB / 486.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/0.1648, allocations: 0.9321 MB / 487.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.04e-05/0.1649, allocations: 0 / 487.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.39e-05/0.165, allocations: 40 kB / 487.5 MB, free: 12.67 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.16e-05/0.165, allocations: 24 kB / 487.5 MB, free: 12.65 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.1662, allocations: 0.7223 MB / 488.2 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004898/0.1711, allocations: 3.913 MB / 492.2 MB, free: 7.676 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002717/0.1738, allocations: 3.386 MB / 495.5 MB, free: 3.641 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004076/0.1743, allocations: 295 kB / 495.8 MB, free: 3.344 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001025/0.1744, allocations: 89.42 kB / 495.9 MB, free: 3.238 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.537e-05/0.1744, allocations: 38.89 kB / 496 MB, free: 3.191 MB / 366.1 MB Notification: Performance of pre-optimization done (n=66): time 4.188e-06/0.1744, allocations: 0 / 496 MB, free: 3.191 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.002687/0.1771, allocations: 1.334 MB / 497.3 MB, free: 1.766 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.255e-05/0.1772, allocations: 140.5 kB / 497.4 MB, free: 1.598 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003996/0.1776, allocations: 310.8 kB / 497.7 MB, free: 1.285 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.329e-05/0.1777, allocations: 33.7 kB / 497.8 MB, free: 1.246 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000247/0.1779, allocations: 398.4 kB / 498.1 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001999/0.1781, allocations: 232.7 kB / 498.4 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002017/0.1784, allocations: 150.5 kB / 498.5 MB, free: 476 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1785, allocations: 354.7 kB / 498.9 MB, free: 112 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000348/0.1789, allocations: 197.9 kB / 499.1 MB, free: 15.92 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004586/0.1793, allocations: 400.6 kB / 499.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008423/0.1802, allocations: 0.6219 MB / 0.4884 GB, free: 14.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.1802, allocations: 0 / 0.4884 GB, free: 14.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001396/0.1816, allocations: 0.8862 MB / 0.4892 GB, free: 13.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/0.1817, allocations: 8 kB / 0.4892 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.1817, allocations: 8.5 kB / 0.4892 GB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006658/0.1824, allocations: 223.2 kB / 0.4894 GB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000455/0.1828, allocations: 139.8 kB / 0.4896 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005654/0.1885, allocations: 6.697 MB / 0.4961 GB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005698/0.1891, allocations: 83.06 kB / 0.4962 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.025e-05/0.1892, allocations: 32 kB / 0.4962 GB, free: 6.09 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.0003772/0.1895, allocations: 229.6 kB / 0.4964 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/0.1897, allocations: 51.36 kB / 0.4965 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001193/0.1909, allocations: 0.6887 MB / 0.4972 GB, free: 5.102 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.1909, allocations: 8 kB / 0.4972 GB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.1909, allocations: 8 kB / 0.4972 GB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.1909, allocations: 3.984 kB / 0.4972 GB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002338/0.1933, allocations: 1.57 MB / 0.4987 GB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.1933, allocations: 0 / 0.4987 GB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000237/0.1935, allocations: 68.19 kB / 0.4988 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005105/0.1941, allocations: 215.2 kB / 0.499 GB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.735e-05/0.1941, allocations: 20 kB / 0.499 GB, free: 3.137 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2891/0.4832, allocations: 6.678 MB / 0.5055 GB, free: 45.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.4833, allocations: 2.281 kB / 0.5055 GB, free: 45.03 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001849/0.4851, allocations: 1.19 MB / 0.5067 GB, free: 44.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001635/0.4853, allocations: 125.3 kB / 0.5068 GB, free: 44.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.596e-05/0.4854, allocations: 15.97 kB / 0.5068 GB, free: 44.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003403/0.4857, allocations: 13.83 kB / 0.5068 GB, free: 44.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/0.4859, allocations: 59.11 kB / 0.5069 GB, free: 44.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.412e-05/0.4859, allocations: 18.61 kB / 0.5069 GB, free: 44.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002733/0.4862, allocations: 215.8 kB / 0.5071 GB, free: 44.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4862, allocations: 0 / 0.5071 GB, free: 44.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001098/0.4873, allocations: 282.9 kB / 0.5074 GB, free: 44.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.0002654/0.4876, allocations: 140.7 kB / 0.5075 GB, free: 44.35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00165/0.4892, allocations: 1.071 MB / 0.5086 GB, free: 43.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.4893, allocations: 3.062 kB / 0.5086 GB, free: 43.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009326/0.4902, allocations: 0.7798 MB / 0.5093 GB, free: 43.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006952/0.4909, allocations: 47.12 kB / 0.5094 GB, free: 43.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00221/0.4931, allocations: 1.21 MB / 0.5106 GB, free: 42.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004819/0.4936, allocations: 0.9104 MB / 0.5115 GB, free: 41.87 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002628/0.4939, allocations: 72.61 kB / 0.5115 GB, free: 41.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.764e-05/0.494, allocations: 34.8 kB / 0.5116 GB, free: 41.84 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.494, allocations: 0 / 0.5116 GB, free: 41.84 MB / 382.1 MB Notification: Performance of Templates: time 0.01565/0.5097, allocations: 6.655 MB / 0.5181 GB, free: 41 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 -s gbode -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