Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 80.05 kB / 20.72 MB, free: 3.77 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 169 kB / 24.14 MB, free: 364 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.163/1.163, allocations: 158.6 MB / 186 MB, free: 2.766 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1421/0.1421, allocations: 32.38 MB / 270.7 MB, free: 14.61 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4667,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents") translateModel(ModelicaTest.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4667,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.246e-06/3.246e-06, allocations: 3.984 kB / 299 MB, free: 2.238 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.167e-05/3.492e-05, allocations: 2.312 kB / 299 MB, free: 2.234 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.1776/0.1776, allocations: 3.362 MB / 302.4 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002518/0.1801, allocations: 0.8423 MB / 303.2 MB, free: 18.84 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000395/0.1805, allocations: 10.66 kB / 303.3 MB, free: 18.84 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003059/0.1808, allocations: 78.11 kB / 303.3 MB, free: 18.8 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004204/0.1813, allocations: 132.2 kB / 303.5 MB, free: 18.7 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006503/0.1819, allocations: 140.6 kB / 303.6 MB, free: 18.69 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006928/0.1826, allocations: 0.5341 MB / 304.1 MB, free: 18.42 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003092/0.1829, allocations: 173.2 kB / 304.3 MB, free: 18.32 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005702/0.1835, allocations: 323.9 kB / 304.6 MB, free: 18.19 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003321/0.1838, allocations: 174.5 kB / 304.8 MB, free: 18.13 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.1839, allocations: 49.59 kB / 304.8 MB, free: 18.13 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.273e-05/0.184, allocations: 49.91 kB / 304.9 MB, free: 18.13 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.894e-05/0.1841, allocations: 109.9 kB / 305 MB, free: 18.06 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002174/0.1843, allocations: 177.7 kB / 305.2 MB, free: 17.98 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005591/0.1849, allocations: 368.6 kB / 305.5 MB, free: 17.8 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1849, allocations: 0 / 305.5 MB, free: 17.8 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.829e-06/0.1849, allocations: 2.172 kB / 305.5 MB, free: 17.8 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.324e-05/0.1849, allocations: 0 / 305.5 MB, free: 17.8 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001037/0.1859, allocations: 0.6772 MB / 306.2 MB, free: 17.33 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.186, allocations: 10.7 kB / 306.2 MB, free: 17.33 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/0.1861, allocations: 70.64 kB / 306.3 MB, free: 17.32 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.1864, allocations: 215.9 kB / 306.5 MB, free: 17.13 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.429e-05/0.1865, allocations: 32.09 kB / 306.5 MB, free: 17.12 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.326e-05/0.1865, allocations: 48.05 kB / 306.6 MB, free: 17.1 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005651/0.1871, allocations: 418.2 kB / 307 MB, free: 16.88 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.1871, allocations: 3.781 kB / 307 MB, free: 16.88 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.1871, allocations: 16.62 kB / 307 MB, free: 16.87 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.1871, allocations: 15.84 kB / 307 MB, free: 16.87 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002082/0.1873, allocations: 121 kB / 307.1 MB, free: 16.85 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001629/0.189, allocations: 1.305 MB / 308.4 MB, free: 15.94 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002764/0.1893, allocations: 154.2 kB / 308.6 MB, free: 15.87 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.1894, allocations: 80.08 kB / 308.7 MB, free: 15.84 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.1894, allocations: 5.656 kB / 308.7 MB, free: 15.84 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.1894, allocations: 38.23 kB / 308.7 MB, free: 15.8 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 2.154e-06/0.1894, allocations: 0 / 308.7 MB, free: 15.8 MB / 282.7 MB Notification: Performance of matching and sorting (n=34): time 0.0016/0.191, allocations: 0.8439 MB / 309.6 MB, free: 15.37 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.191, allocations: 82.8 kB / 309.6 MB, free: 15.27 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.1912, allocations: 237.2 kB / 309.9 MB, free: 15.12 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.1912, allocations: 31.8 kB / 309.9 MB, free: 15.09 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.1914, allocations: 252.2 kB / 310.1 MB, free: 14.88 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.746e-05/0.1914, allocations: 121.9 kB / 310.3 MB, free: 14.79 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.633e-05/0.1915, allocations: 81.16 kB / 310.3 MB, free: 14.73 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.064e-05/0.1916, allocations: 343 kB / 310.7 MB, free: 14.41 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.301e-05/0.1917, allocations: 38.84 kB / 310.7 MB, free: 14.41 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.1918, allocations: 148.1 kB / 310.9 MB, free: 14.27 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002244/0.192, allocations: 229.8 kB / 311.1 MB, free: 14.12 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.192, allocations: 3.219 kB / 311.1 MB, free: 14.12 MB / 282.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0003654/0.1924, allocations: 254.4 kB / 311.3 MB, free: 14.04 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.1924, allocations: 7.281 kB / 311.3 MB, free: 14.04 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.1924, allocations: 7.969 kB / 311.4 MB, free: 14.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001383/0.1925, allocations: 25.53 kB / 311.4 MB, free: 14.03 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002815/0.1928, allocations: 118.7 kB / 311.5 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005641/0.1934, allocations: 1.198 MB / 312.7 MB, free: 12.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.1935, allocations: 11.67 kB / 312.7 MB, free: 12.84 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.1936, allocations: 14.42 kB / 312.7 MB, free: 12.83 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001136/0.1937, allocations: 141.4 kB / 312.9 MB, free: 12.69 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.656e-05/0.1937, allocations: 29.44 kB / 312.9 MB, free: 12.69 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.33e-05/0.1938, allocations: 39.58 kB / 312.9 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.1938, allocations: 4.953 kB / 312.9 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.118e-06/0.1938, allocations: 5.531 kB / 312.9 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.1938, allocations: 4.25 kB / 312.9 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005659/0.1944, allocations: 401 kB / 313.3 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.1944, allocations: 1.969 kB / 313.3 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002413/0.1946, allocations: 91.34 kB / 313.4 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.868e-05/0.1947, allocations: 21.62 kB / 313.4 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.1947, allocations: 12.38 kB / 313.5 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005243/0.1953, allocations: 1.193 MB / 314.6 MB, free: 11.19 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.1953, allocations: 0 / 314.6 MB, free: 11.19 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004182/0.1957, allocations: 413 kB / 315 MB, free: 10.93 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.562e-05/0.1957, allocations: 28.84 kB / 315.1 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/0.1958, allocations: 12.34 kB / 315.1 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.1959, allocations: 22.98 kB / 315.1 MB, free: 10.9 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.715e-05/0.196, allocations: 24.58 kB / 315.1 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.196, allocations: 6.391 kB / 315.1 MB, free: 10.89 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.962e-05/0.1961, allocations: 86.89 kB / 315.2 MB, free: 10.86 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.1961, allocations: 0 / 315.2 MB, free: 10.86 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003679/0.1964, allocations: 91.75 kB / 315.3 MB, free: 10.85 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000124/0.1966, allocations: 84.23 kB / 315.4 MB, free: 10.78 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004007/0.197, allocations: 288.2 kB / 315.7 MB, free: 10.62 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.325e-05/0.197, allocations: 4.125 kB / 315.7 MB, free: 10.62 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.1971, allocations: 205.1 kB / 315.9 MB, free: 10.48 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.1974, allocations: 41.94 kB / 315.9 MB, free: 10.47 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.1987, allocations: 0.7684 MB / 316.7 MB, free: 9.977 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.205e-05/0.1988, allocations: 109.9 kB / 316.8 MB, free: 9.895 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000119/0.1989, allocations: 35.34 kB / 316.8 MB, free: 9.887 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.199, allocations: 100.4 kB / 316.9 MB, free: 9.836 MB / 282.7 MB Notification: Performance of SimCode: time 1.122e-06/0.199, allocations: 7.938 kB / 316.9 MB, free: 9.828 MB / 282.7 MB Notification: Performance of Templates: time 0.007533/0.2066, allocations: 3.047 MB / 320 MB, free: 8.52 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/BasicComponents/BasicComponents.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.571071241982281]