Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001326/0.001326, allocations: 111.9 kB / 19.12 MB, free: 3.941 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001345/0.001346, allocations: 208.9 kB / 22.08 MB, free: 0.9922 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.4 MB / 252.3 MB, free: 64 kB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.238/0.238, allocations: 46.16 MB / 351.8 MB, free: 14.37 MB / 286.1 MB
"
[Timeout remaining time 180]
Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo)
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo)
Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo)
Running command: translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage")
translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002279/0.002279, allocations: 81.2 kB / 490.9 MB, free: 28.03 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1194, allocations: 62.45 MB / 0.5403 GB, free: 4.266 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.006986/0.1265, allocations: 5.332 MB / 0.5455 GB, free: 14.9 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003097/0.1296, allocations: 1.646 MB / 0.5472 GB, free: 13.25 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002779/0.1299, allocations: 20 kB / 0.5472 GB, free: 13.23 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.003533/0.1335, allocations: 1.597 MB / 0.5487 GB, free: 11.62 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0008359/0.1343, allocations: 313.6 kB / 0.549 GB, free: 11.32 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.1355, allocations: 0.5244 MB / 0.5495 GB, free: 10.79 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0009468/0.1364, allocations: 0.7968 MB / 0.5503 GB, free: 9.992 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001126/0.1376, allocations: 0.7445 MB / 0.5511 GB, free: 9.23 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0004666/0.1381, allocations: 338.7 kB / 0.5514 GB, free: 8.898 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0005639/0.1386, allocations: 466.1 kB / 0.5518 GB, free: 8.441 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.1388, allocations: 76 kB / 0.5519 GB, free: 8.367 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004707/0.1392, allocations: 199.9 kB / 0.5521 GB, free: 8.172 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001557/0.1394, allocations: 175.4 kB / 0.5522 GB, free: 8 MB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0004014/0.1398, allocations: 421.9 kB / 0.5527 GB, free: 7.586 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001362/0.1412, allocations: 1.179 MB / 0.5538 GB, free: 6.402 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.1412, allocations: 4 kB / 0.5538 GB, free: 6.398 MB / 414.1 MB
Notification: Performance of FrontEnd: time 1.283e-06/0.1412, allocations: 0 / 0.5538 GB, free: 6.398 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 1.204e-05/0.1412, allocations: 0 / 0.5538 GB, free: 6.398 MB / 414.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.003423/0.1446, allocations: 1.375 MB / 0.5551 GB, free: 4.977 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.1447, allocations: 9.109 kB / 0.5552 GB, free: 4.969 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001643/0.1463, allocations: 236.2 kB / 0.5554 GB, free: 4.738 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.1466, allocations: 263 kB / 0.5556 GB, free: 4.445 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.614e-05/0.1467, allocations: 74.38 kB / 0.5557 GB, free: 4.371 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001454/0.1469, allocations: 112.1 kB / 0.5558 GB, free: 4.262 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/0.1485, allocations: 0.9321 MB / 0.5567 GB, free: 3.312 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 4.026e-05/0.1485, allocations: 7.953 kB / 0.5567 GB, free: 3.305 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.201e-05/0.1486, allocations: 40 kB / 0.5568 GB, free: 3.266 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.183e-05/0.1486, allocations: 24 kB / 0.5568 GB, free: 3.242 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001369/0.15, allocations: 0.7262 MB / 0.5575 GB, free: 2.516 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005513/0.1555, allocations: 4.088 MB / 0.5615 GB, free: 14.05 MB / 430.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.003079/0.1587, allocations: 3.37 MB / 0.5648 GB, free: 10.04 MB / 430.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004581/0.1591, allocations: 303 kB / 0.5651 GB, free: 9.73 MB / 430.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.000188/0.1593, allocations: 182.5 kB / 0.5652 GB, free: 9.516 MB / 430.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.803e-05/0.1594, allocations: 42.88 kB / 0.5653 GB, free: 9.465 MB / 430.1 MB
Notification: Performance of pre-optimization done (n=66): time 3.376e-06/0.1594, allocations: 4 kB / 0.5653 GB, free: 9.461 MB / 430.1 MB
Notification: Performance of matching and sorting (n=66): time 0.002995/0.1624, allocations: 1.332 MB / 0.5666 GB, free: 8.039 MB / 430.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.506e-05/0.1625, allocations: 144.4 kB / 0.5667 GB, free: 7.867 MB / 430.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004196/0.163, allocations: 310.9 kB / 0.567 GB, free: 7.555 MB / 430.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.17e-05/0.163, allocations: 37.7 kB / 0.5671 GB, free: 7.512 MB / 430.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0003057/0.1633, allocations: 415.8 kB / 0.5675 GB, free: 7.098 MB / 430.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002172/0.1635, allocations: 242 kB / 0.5677 GB, free: 6.859 MB / 430.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002187/0.1638, allocations: 146.6 kB / 0.5678 GB, free: 6.711 MB / 430.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001933/0.164, allocations: 358.7 kB / 0.5682 GB, free: 6.352 MB / 430.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003717/0.1644, allocations: 201.9 kB / 0.5684 GB, free: 6.156 MB / 430.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005843/0.1649, allocations: 396.6 kB / 0.5687 GB, free: 5.691 MB / 430.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0009236/0.1659, allocations: 0.6142 MB / 0.5693 GB, free: 4.996 MB / 430.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/0.1659, allocations: 8 kB / 0.5693 GB, free: 4.988 MB / 430.1 MB
Notification: Performance of matching and sorting (n=106) (initialization): time 0.001598/0.1675, allocations: 0.8791 MB / 0.5702 GB, free: 4.094 MB / 430.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.1675, allocations: 8 kB / 0.5702 GB, free: 4.086 MB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.1676, allocations: 8 kB / 0.5702 GB, free: 4.078 MB / 430.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0006942/0.1683, allocations: 227.2 kB / 0.5704 GB, free: 3.844 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005017/0.1688, allocations: 143.7 kB / 0.5706 GB, free: 3.703 MB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006497/0.1753, allocations: 6.721 MB / 0.5771 GB, free: 12.42 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005533/0.1759, allocations: 79.36 kB / 0.5772 GB, free: 12.34 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.128e-05/0.176, allocations: 44.05 kB / 0.5773 GB, free: 12.3 MB / 446.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.0003496/0.1763, allocations: 221.6 kB / 0.5775 GB, free: 12.07 MB / 446.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.1765, allocations: 39.77 kB / 0.5775 GB, free: 12.03 MB / 446.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00139/0.1779, allocations: 0.7 MB / 0.5782 GB, free: 11.31 MB / 446.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.1779, allocations: 11.94 kB / 0.5782 GB, free: 11.3 MB / 446.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.1779, allocations: 4 kB / 0.5782 GB, free: 11.29 MB / 446.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.1779, allocations: 0 / 0.5782 GB, free: 11.29 MB / 446.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002586/0.1805, allocations: 1.566 MB / 0.5797 GB, free: 9.656 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.1805, allocations: 4 kB / 0.5797 GB, free: 9.652 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002635/0.1808, allocations: 67.91 kB / 0.5798 GB, free: 9.586 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0006049/0.1814, allocations: 219.2 kB / 0.58 GB, free: 9.359 MB / 446.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.513e-05/0.1815, allocations: 12 kB / 0.58 GB, free: 9.348 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006282/0.1878, allocations: 6.706 MB / 0.5866 GB, free: 2.082 MB / 446.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1878, allocations: 0 / 0.5866 GB, free: 2.082 MB / 446.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001732/0.1895, allocations: 1.199 MB / 0.5877 GB, free: 0.8516 MB / 446.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.1897, allocations: 132.6 kB / 0.5879 GB, free: 0.7031 MB / 446.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.161e-05/0.1898, allocations: 15.98 kB / 0.5879 GB, free: 0.6875 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003331/0.1901, allocations: 12 kB / 0.5879 GB, free: 0.6758 MB / 446.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.1902, allocations: 59.8 kB / 0.588 GB, free: 0.6172 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.485e-05/0.1903, allocations: 20 kB / 0.588 GB, free: 0.5977 MB / 446.1 MB
Notification: Performance of sorting global known variables: time 0.0002727/0.1905, allocations: 217.9 kB / 0.5882 GB, free: 392 kB / 446.1 MB
Notification: Performance of sort global known variables: time 2.01e-07/0.1906, allocations: 3.938 kB / 0.5882 GB, free: 388 kB / 446.1 MB
Notification: Performance of remove unused functions: time 0.0009981/0.1916, allocations: 283.4 kB / 0.5885 GB, free: 104 kB / 446.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.0002742/0.1918, allocations: 143.1 kB / 0.5886 GB, free: 15.95 MB / 462.1 MB
Notification: Performance of simCode: created initialization part: time 0.001637/0.1935, allocations: 1.076 MB / 0.5896 GB, free: 14.83 MB / 462.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.1935, allocations: 4 kB / 0.5896 GB, free: 14.82 MB / 462.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0009623/0.1945, allocations: 0.7839 MB / 0.5904 GB, free: 13.99 MB / 462.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006465/0.1951, allocations: 36.56 kB / 0.5904 GB, free: 13.95 MB / 462.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0023/0.1974, allocations: 1.262 MB / 0.5917 GB, free: 12.64 MB / 462.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006117/0.1981, allocations: 0.9072 MB / 0.5926 GB, free: 11.7 MB / 462.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.1982, allocations: 51.36 kB / 0.5926 GB, free: 11.65 MB / 462.1 MB
Notification: Performance of SimCode: time 6.81e-07/0.1982, allocations: 0 / 0.5926 GB, free: 11.65 MB / 462.1 MB
Notification: Performance of Templates: time 0.2727/0.4709, allocations: 19.51 MB / 0.6117 GB, free: 59.19 MB / 462.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 8.963877169066109]