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.002002/0.002002, allocations: 122.7 kB / 18.46 MB, free: 4.59 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.002441/0.002442, allocations: 207.3 kB / 21.4 MB, free: 1.645 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.458/1.458, allocations: 227.4 MB / 251.6 MB, free: 40 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.234/0.234, allocations: 46.17 MB / 351.1 MB, free: 14.25 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.002133/0.002133, allocations: 84.14 kB / 490.2 MB, free: 27.88 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1278, allocations: 62.46 MB / 0.5397 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.006874/0.1348, allocations: 5.321 MB / 0.5449 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003124/0.1379, allocations: 1.65 MB / 0.5465 GB, free: 13.2 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003092/0.1382, allocations: 20 kB / 0.5465 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003455/0.1418, allocations: 1.584 MB / 0.5481 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007535/0.1425, allocations: 317.6 kB / 0.5484 GB, free: 11.28 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.1436, allocations: 0.5282 MB / 0.5489 GB, free: 10.75 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008346/0.1445, allocations: 0.8046 MB / 0.5497 GB, free: 9.945 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001046/0.1455, allocations: 0.7328 MB / 0.5504 GB, free: 9.195 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000428/0.146, allocations: 342.7 kB / 0.5507 GB, free: 8.859 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005573/0.1465, allocations: 462.2 kB / 0.5511 GB, free: 8.406 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.925e-05/0.1466, allocations: 76 kB / 0.5512 GB, free: 8.332 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000412/0.1471, allocations: 203.9 kB / 0.5514 GB, free: 8.133 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.1472, allocations: 171.4 kB / 0.5516 GB, free: 7.965 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004242/0.1476, allocations: 433.8 kB / 0.552 GB, free: 7.539 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001355/0.149, allocations: 1.163 MB / 0.5531 GB, free: 6.371 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.149, allocations: 0 / 0.5531 GB, free: 6.371 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.149, allocations: 4 kB / 0.5531 GB, free: 6.367 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.591e-05/0.1491, allocations: 0 / 0.5531 GB, free: 6.367 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.003331/0.1524, allocations: 1.376 MB / 0.5545 GB, free: 4.941 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.1524, allocations: 16.98 kB / 0.5545 GB, free: 4.926 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001548/0.154, allocations: 236.2 kB / 0.5547 GB, free: 4.695 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.1543, allocations: 258.7 kB / 0.555 GB, free: 4.406 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.626e-05/0.1544, allocations: 78.38 kB / 0.555 GB, free: 4.328 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.1545, allocations: 104.1 kB / 0.5551 GB, free: 4.227 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/0.1561, allocations: 0.9321 MB / 0.556 GB, free: 3.277 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.669e-05/0.1562, allocations: 7.953 kB / 0.5561 GB, free: 3.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.09e-05/0.1563, allocations: 40 kB / 0.5561 GB, free: 3.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.444e-05/0.1563, allocations: 24 kB / 0.5561 GB, free: 3.207 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001316/0.1576, allocations: 0.7262 MB / 0.5568 GB, free: 2.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00538/0.163, allocations: 4.08 MB / 0.5608 GB, free: 14.03 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003444/0.1665, allocations: 3.377 MB / 0.5641 GB, free: 10 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004993/0.167, allocations: 300.6 kB / 0.5644 GB, free: 9.699 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002603/0.1673, allocations: 186.5 kB / 0.5646 GB, free: 9.48 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.508e-05/0.1673, allocations: 42.83 kB / 0.5646 GB, free: 9.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 3.206e-06/0.1674, allocations: 4 kB / 0.5646 GB, free: 9.426 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.003144/0.1705, allocations: 1.34 MB / 0.5659 GB, free: 7.996 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.1706, allocations: 136.5 kB / 0.5661 GB, free: 7.832 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005494/0.1712, allocations: 314.8 kB / 0.5664 GB, free: 7.516 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.748e-05/0.1713, allocations: 37.7 kB / 0.5664 GB, free: 7.473 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004644/0.1717, allocations: 407.9 kB / 0.5668 GB, free: 7.066 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002556/0.172, allocations: 249.9 kB / 0.567 GB, free: 6.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002492/0.1723, allocations: 146.6 kB / 0.5672 GB, free: 6.672 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002016/0.1725, allocations: 350.8 kB / 0.5675 GB, free: 6.32 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000365/0.1728, allocations: 201.9 kB / 0.5677 GB, free: 6.125 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005737/0.1734, allocations: 400.6 kB / 0.5681 GB, free: 5.656 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009477/0.1744, allocations: 0.6181 MB / 0.5687 GB, free: 4.957 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.954e-06/0.1744, allocations: 8 kB / 0.5687 GB, free: 4.949 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001586/0.176, allocations: 0.8868 MB / 0.5695 GB, free: 4.047 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/0.176, allocations: 18.08 kB / 0.5696 GB, free: 4.031 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.176, allocations: 4 kB / 0.5696 GB, free: 4.027 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006756/0.1767, allocations: 223.2 kB / 0.5698 GB, free: 3.797 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004801/0.1772, allocations: 143.7 kB / 0.5699 GB, free: 3.656 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006991/0.1842, allocations: 6.71 MB / 0.5765 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006034/0.1848, allocations: 79.42 kB / 0.5765 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.073e-05/0.1849, allocations: 43.98 kB / 0.5766 GB, free: 12.26 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.000407/0.1853, allocations: 225.5 kB / 0.5768 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.1855, allocations: 39.77 kB / 0.5768 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/0.1869, allocations: 0.6962 MB / 0.5775 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.1869, allocations: 8 kB / 0.5775 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.1869, allocations: 4 kB / 0.5775 GB, free: 11.26 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.1869, allocations: 3.984 kB / 0.5775 GB, free: 11.26 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002559/0.1895, allocations: 1.57 MB / 0.5791 GB, free: 9.617 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.907e-05/0.1895, allocations: 7.984 kB / 0.5791 GB, free: 9.609 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002451/0.1898, allocations: 63.91 kB / 0.5791 GB, free: 9.547 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005465/0.1903, allocations: 215.2 kB / 0.5793 GB, free: 9.324 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.687e-05/0.1904, allocations: 15.98 kB / 0.5794 GB, free: 9.309 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006545/0.1969, allocations: 6.702 MB / 0.5859 GB, free: 2.047 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.1969, allocations: 0 / 0.5859 GB, free: 2.047 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001738/0.1987, allocations: 1.207 MB / 0.5871 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/0.1988, allocations: 124.7 kB / 0.5872 GB, free: 0.668 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.318e-05/0.1989, allocations: 16 kB / 0.5872 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003241/0.1992, allocations: 12 kB / 0.5872 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.1994, allocations: 63.73 kB / 0.5873 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.69e-05/0.1994, allocations: 23.98 kB / 0.5873 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002828/0.1997, allocations: 206 kB / 0.5875 GB, free: 360 kB / 446.1 MB Notification: Performance of sort global known variables: time 2.073e-06/0.1997, allocations: 8.062 kB / 0.5875 GB, free: 352 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.001065/0.2008, allocations: 279.3 kB / 0.5878 GB, free: 72 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.0003087/0.2011, allocations: 143.1 kB / 0.5879 GB, free: 15.92 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001698/0.2028, allocations: 1.079 MB / 0.589 GB, free: 14.79 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2028, allocations: 0 / 0.589 GB, free: 14.79 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009637/0.2038, allocations: 0.78 MB / 0.5897 GB, free: 13.96 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006507/0.2045, allocations: 40.55 kB / 0.5898 GB, free: 13.92 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002198/0.2067, allocations: 1.232 MB / 0.591 GB, free: 12.65 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000637/0.2073, allocations: 0.9111 MB / 0.5919 GB, free: 11.7 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002573/0.2076, allocations: 64.55 kB / 0.5919 GB, free: 11.64 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.574e-05/0.2077, allocations: 43.38 kB / 0.592 GB, free: 11.6 MB / 462.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2077, allocations: 0 / 0.592 GB, free: 11.6 MB / 462.1 MB Notification: Performance of Templates: time 0.0143/0.222, allocations: 6.788 MB / 0.5986 GB, free: 4.836 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/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_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: 5.515307465568185]