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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 107.3 kB / 19.69 MB, free: 2.188 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 191.2 kB / 22.98 MB, free: 5.016 MB / 14.72 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.657/1.657, allocations: 207.6 MB / 233.7 MB, free: 10.02 MB / 190.1 MB
"
[Timeout remaining time 178]
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.2665/0.2665, allocations: 44.24 MB / 330.2 MB, free: 9.645 MB / 270.1 MB
"
[Timeout remaining time 179]
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.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.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4666,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=4666,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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.002253/0.002253, allocations: 75.83 kB / 467.9 MB, free: 4.082 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1814, allocations: 61.04 MB / 0.5166 GB, free: 6.902 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.006077/0.1875, allocations: 3.443 MB / 0.5199 GB, free: 3.438 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002233/0.1897, allocations: 0.8499 MB / 0.5208 GB, free: 2.578 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002361/0.19, allocations: 11.94 kB / 0.5208 GB, free: 2.566 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002522/0.1902, allocations: 71.3 kB / 0.5208 GB, free: 2.496 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003101/0.1905, allocations: 130.8 kB / 0.521 GB, free: 2.367 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004405/0.191, allocations: 127.8 kB / 0.5211 GB, free: 2.242 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0006518/0.1916, allocations: 0.5258 MB / 0.5216 GB, free: 1.711 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003846/0.192, allocations: 182.3 kB / 0.5218 GB, free: 1.531 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003579/0.1924, allocations: 219.3 kB / 0.522 GB, free: 1.316 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.000307/0.1927, allocations: 231 kB / 0.5222 GB, free: 1.09 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 8.412e-05/0.1928, allocations: 48 kB / 0.5223 GB, free: 1.043 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 8.796e-05/0.1928, allocations: 52 kB / 0.5223 GB, free: 0.9922 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.00012/0.193, allocations: 115.5 kB / 0.5224 GB, free: 0.8789 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002879/0.1932, allocations: 246.9 kB / 0.5227 GB, free: 0.6367 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0007701/0.194, allocations: 0.5602 MB / 0.5232 GB, free: 76 kB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.194, allocations: 0 / 0.5232 GB, free: 76 kB / 398.1 MB
Notification: Performance of FrontEnd: time 1.884e-06/0.194, allocations: 0 / 0.5232 GB, free: 76 kB / 398.1 MB
Notification: Performance of Transformations before backend: time 9.939e-06/0.194, allocations: 0 / 0.5232 GB, free: 76 kB / 398.1 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.001611/0.1956, allocations: 0.6962 MB / 0.5239 GB, free: 15.35 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.1957, allocations: 8.031 kB / 0.5239 GB, free: 15.34 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.1958, allocations: 56.66 kB / 0.5239 GB, free: 15.29 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006035/0.1964, allocations: 255.7 kB / 0.5242 GB, free: 15 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.665e-05/0.1965, allocations: 37.38 kB / 0.5242 GB, free: 14.97 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.359e-05/0.1966, allocations: 48.36 kB / 0.5243 GB, free: 14.92 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000917/0.1975, allocations: 467.4 kB / 0.5247 GB, free: 14.45 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.1975, allocations: 4 kB / 0.5247 GB, free: 14.45 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.964e-05/0.1975, allocations: 20 kB / 0.5247 GB, free: 14.43 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.481e-05/0.1976, allocations: 12 kB / 0.5247 GB, free: 14.41 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007863/0.1983, allocations: 324.1 kB / 0.5251 GB, free: 14.09 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002738/0.2011, allocations: 1.619 MB / 0.5266 GB, free: 12.37 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006005/0.2017, allocations: 225 kB / 0.5269 GB, free: 12.13 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003825/0.2021, allocations: 133.6 kB / 0.527 GB, free: 11.99 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.2021, allocations: 0 / 0.527 GB, free: 11.99 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.755e-05/0.2021, allocations: 42.55 kB / 0.527 GB, free: 11.94 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=26): time 1.402e-06/0.2021, allocations: 0 / 0.527 GB, free: 11.94 MB / 414.1 MB
Notification: Performance of matching and sorting (n=34): time 0.003257/0.2054, allocations: 1.119 MB / 0.5281 GB, free: 10.76 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.706e-05/0.2055, allocations: 85.05 kB / 0.5282 GB, free: 10.66 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003337/0.2058, allocations: 261.8 kB / 0.5284 GB, free: 10.39 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.423e-05/0.2058, allocations: 33.7 kB / 0.5285 GB, free: 10.35 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.206, allocations: 268.1 kB / 0.5287 GB, free: 10.09 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.2061, allocations: 126.9 kB / 0.5289 GB, free: 9.961 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.2063, allocations: 78.08 kB / 0.5289 GB, free: 9.879 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.000172/0.2064, allocations: 338.8 kB / 0.5292 GB, free: 9.539 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002859/0.2067, allocations: 112.8 kB / 0.5294 GB, free: 9.43 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003659/0.2071, allocations: 212.4 kB / 0.5296 GB, free: 9.176 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006751/0.2078, allocations: 343.3 kB / 0.5299 GB, free: 8.801 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2078, allocations: 0 / 0.5299 GB, free: 8.801 MB / 414.1 MB
Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009023/0.2087, allocations: 418 kB / 0.5303 GB, free: 8.383 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.2087, allocations: 8 kB / 0.5303 GB, free: 8.375 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.2087, allocations: 11.92 kB / 0.5303 GB, free: 8.363 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001696/0.2089, allocations: 36.83 kB / 0.5303 GB, free: 8.324 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004906/0.2094, allocations: 123.8 kB / 0.5305 GB, free: 8.203 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001688/0.2111, allocations: 1.327 MB / 0.5318 GB, free: 6.754 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002927/0.2113, allocations: 24.05 kB / 0.5318 GB, free: 6.73 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.952e-05/0.2114, allocations: 16 kB / 0.5318 GB, free: 6.715 MB / 414.1 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.0002651/0.2116, allocations: 165.8 kB / 0.532 GB, free: 6.543 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.2117, allocations: 31.81 kB / 0.532 GB, free: 6.512 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.963e-05/0.2118, allocations: 38.11 kB / 0.532 GB, free: 6.477 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.2118, allocations: 4 kB / 0.532 GB, free: 6.473 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.631e-05/0.2119, allocations: 8 kB / 0.532 GB, free: 6.465 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.2119, allocations: 4 kB / 0.532 GB, free: 6.461 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001267/0.2131, allocations: 0.6755 MB / 0.5327 GB, free: 5.727 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.2132, allocations: 4 kB / 0.5327 GB, free: 5.723 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004311/0.2136, allocations: 95.94 kB / 0.5328 GB, free: 5.629 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 9.17e-05/0.2137, allocations: 24.84 kB / 0.5328 GB, free: 5.602 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.763e-05/0.2137, allocations: 12.08 kB / 0.5328 GB, free: 5.59 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001196/0.2149, allocations: 1.326 MB / 0.5341 GB, free: 4.145 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2149, allocations: 4.031 kB / 0.5341 GB, free: 4.141 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.216, allocations: 0.6106 MB / 0.5347 GB, free: 3.508 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.2161, allocations: 43.83 kB / 0.5348 GB, free: 3.465 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.815e-05/0.2162, allocations: 8 kB / 0.5348 GB, free: 3.457 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002734/0.2164, allocations: 23.98 kB / 0.5348 GB, free: 3.434 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.35e-05/0.2165, allocations: 31.83 kB / 0.5348 GB, free: 3.402 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/0.2165, allocations: 11.98 kB / 0.5348 GB, free: 3.391 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0002051/0.2168, allocations: 181.2 kB / 0.535 GB, free: 3.215 MB / 414.1 MB
Notification: Performance of sort global known variables: time 6.1e-08/0.2168, allocations: 0 / 0.535 GB, free: 3.215 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.000484/0.2172, allocations: 92 kB / 0.5351 GB, free: 3.125 MB / 414.1 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.0001529/0.2174, allocations: 115.1 kB / 0.5352 GB, free: 3.004 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0009603/0.2184, allocations: 386.3 kB / 0.5356 GB, free: 2.613 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.2184, allocations: 0 / 0.5356 GB, free: 2.613 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0004227/0.2188, allocations: 251.3 kB / 0.5358 GB, free: 2.355 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004831/0.2193, allocations: 48.28 kB / 0.5359 GB, free: 2.309 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/0.2213, allocations: 0.9247 MB / 0.5368 GB, free: 1.348 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005202/0.2218, allocations: 0.8074 MB / 0.5375 GB, free: 0.5156 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.0001518/0.222, allocations: 30.97 kB / 0.5376 GB, free: 496 kB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.241e-05/0.2221, allocations: 31.42 kB / 0.5376 GB, free: 464 kB / 414.1 MB
Notification: Performance of SimCode: time 8.62e-07/0.2221, allocations: 4 kB / 0.5376 GB, free: 460 kB / 414.1 MB
Notification: Performance of Templates: time 0.2974/0.5195, allocations: 3.324 MB / 0.5409 GB, free: 27.34 MB / 414.1 MB
"
[Timeout remaining time 659]
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=480  -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 480]
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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.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.8531329883262515]