Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.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.0021/0.0021, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001497/0.001497, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.506/1.506, allocations: 230.3 MB / 258 MB, free: 8.238 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2479/0.2479, allocations: 46.94 MB / 361.4 MB, free: 4.406 MB / 286.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Electrical.QuasiStatic.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection")
translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") [Timeout 660]
"Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.002335/0.002335, allocations: 75.88 kB / 0.4972 GB, free: 7.52 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3687, allocations: 66.03 MB / 0.5617 GB, free: 4.574 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.0229/0.3916, allocations: 19.88 MB / 0.5811 GB, free: 0.6055 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01236/0.4039, allocations: 5 MB / 0.5859 GB, free: 11.59 MB / 430.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.004595/0.4085, allocations: 195 kB / 0.5861 GB, free: 11.4 MB / 430.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.01815/0.4267, allocations: 7.862 MB / 0.5938 GB, free: 3.523 MB / 430.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.007996/0.4347, allocations: 2.105 MB / 0.5959 GB, free: 1.414 MB / 430.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.004438/0.4391, allocations: 1.434 MB / 0.5973 GB, free: 15.98 MB / 446.1 MB
Notification: Performance of NFFlatten.flatten: time 0.01661/0.4557, allocations: 12.23 MB / 0.6092 GB, free: 3.703 MB / 446.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.03268/0.4884, allocations: 15.79 MB / 0.6246 GB, free: 3.711 MB / 462.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.01316/0.5016, allocations: 6.655 MB / 0.6311 GB, free: 13.04 MB / 478.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.01399/0.5156, allocations: 7.288 MB / 0.6383 GB, free: 5.727 MB / 478.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0058/0.5214, allocations: 1.723 MB / 0.6399 GB, free: 4.004 MB / 478.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.008118/0.5295, allocations: 1.918 MB / 0.6418 GB, free: 2.086 MB / 478.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.007568/0.537, allocations: 3.659 MB / 0.6454 GB, free: 14.42 MB / 494.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.01514/0.5522, allocations: 7.015 MB / 0.6522 GB, free: 7.375 MB / 494.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.03488/0.5871, allocations: 23.68 MB / 0.6754 GB, free: 15.62 MB / 0.5137 GB
Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.5871, allocations: 0 / 0.6754 GB, free: 15.62 MB / 0.5137 GB
Notification: Performance of FrontEnd: time 2.324e-06/0.5871, allocations: 0 / 0.6754 GB, free: 15.62 MB / 0.5137 GB
Notification: Performance of Transformations before backend: time 0.0008149/0.5879, allocations: 0 / 0.6754 GB, free: 15.62 MB / 0.5137 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 3296
 * Number of variables: 3296
Notification: Performance of Generate backend data structure: time 0.04465/0.6325, allocations: 14.75 MB / 0.6898 GB, free: 0.7695 MB / 0.5137 GB
Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.6326, allocations: 12.03 kB / 0.6898 GB, free: 0.7578 MB / 0.5137 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05914/0.6917, allocations: 11.17 MB / 0.7007 GB, free: 5.566 MB / 0.5294 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.01791/0.7096, allocations: 7.499 MB / 0.708 GB, free: 13.97 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001235/0.7109, allocations: 0.8871 MB / 0.7089 GB, free: 13.08 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.006533/0.7174, allocations: 1.168 MB / 0.71 GB, free: 11.91 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.05073/0.7681, allocations: 18.61 MB / 0.7282 GB, free: 9.242 MB / 0.5606 GB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0003875/0.7685, allocations: 19.91 kB / 0.7282 GB, free: 9.223 MB / 0.5606 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004177/0.7727, allocations: 496 kB / 0.7287 GB, free: 8.738 MB / 0.5606 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007638/0.7735, allocations: 0.6617 MB / 0.7293 GB, free: 8.074 MB / 0.5606 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6508/1.424, allocations: 19.14 MB / 0.748 GB, free: 132.8 MB / 0.5607 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09501/1.519, allocations: 59.52 MB / 0.8061 GB, free: 84.77 MB / 0.5607 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.01581/1.535, allocations: 10.7 MB / 0.8166 GB, free: 74.58 MB / 0.5607 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.005811/1.541, allocations: 4.216 MB / 0.8207 GB, free: 70.34 MB / 0.5607 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.000546/1.541, allocations: 237.9 kB / 0.8209 GB, free: 70.16 MB / 0.5607 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.446e-05/1.542, allocations: 103.7 kB / 0.821 GB, free: 70.05 MB / 0.5607 GB
Notification: Performance of pre-optimization done (n=653): time 7.364e-06/1.542, allocations: 0 / 0.821 GB, free: 70.05 MB / 0.5607 GB
Notification: Performance of matching and sorting (n=653): time 0.01638/1.558, allocations: 12.01 MB / 0.8328 GB, free: 57.94 MB / 0.5607 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/1.558, allocations: 120.5 kB / 0.8329 GB, free: 57.81 MB / 0.5607 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009815/1.568, allocations: 8.609 MB / 0.8413 GB, free: 49.26 MB / 0.5607 GB
Notification: Performance of collectPreVariables (initialization): time 0.0009386/1.569, allocations: 129.7 kB / 0.8414 GB, free: 49.12 MB / 0.5607 GB
Notification: Performance of collectInitialEqns (initialization): time 0.002187/1.571, allocations: 4.614 MB / 0.8459 GB, free: 45.01 MB / 0.5607 GB
Notification: Performance of collectInitialBindings (initialization): time 0.001891/1.573, allocations: 2.297 MB / 0.8482 GB, free: 42.7 MB / 0.5607 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.00181/1.575, allocations: 1.47 MB / 0.8496 GB, free: 41.22 MB / 0.5607 GB
Notification: Performance of setup shared object (initialization): time 4.251e-05/1.575, allocations: 305.1 kB / 0.8499 GB, free: 40.92 MB / 0.5607 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.005158/1.58, allocations: 4.113 MB / 0.8539 GB, free: 36.8 MB / 0.5607 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.006184/1.586, allocations: 6.917 MB / 0.8607 GB, free: 28.61 MB / 0.5607 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.01287/1.599, allocations: 11.98 MB / 0.8724 GB, free: 15.28 MB / 0.5607 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.348e-05/1.599, allocations: 31.98 kB / 0.8724 GB, free: 15.25 MB / 0.5607 GB
Notification: Performance of matching and sorting (n=977) (initialization): time 0.02199/1.621, allocations: 12.09 MB / 0.8842 GB, free: 3.043 MB / 0.5607 GB
Notification: Performance of prepare postOptimizeDAE: time 8.307e-05/1.621, allocations: 47.98 kB / 0.8843 GB, free: 2.996 MB / 0.5607 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001205/1.621, allocations: 92 kB / 0.8843 GB, free: 2.906 MB / 0.5607 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0008886/1.622, allocations: 409.1 kB / 0.8847 GB, free: 2.488 MB / 0.5607 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007527/1.63, allocations: 2.02 MB / 0.8867 GB, free: 476 kB / 0.5607 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008706/1.638, allocations: 8.969 MB / 0.8955 GB, free: 6.809 MB / 0.5763 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007612/1.646, allocations: 1.377 MB / 0.8968 GB, free: 5.422 MB / 0.5763 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001703/1.648, allocations: 391.9 kB / 0.8972 GB, free: 5.039 MB / 0.5763 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 414
 * 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 (971):
 * Single equations (assignments): 965
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 6
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 6 systems
   {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.01044/1.658, allocations: 4.578 MB / 0.9017 GB, free: 456 kB / 0.5763 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002186/1.66, allocations: 0.7376 MB / 0.9024 GB, free: 15.7 MB / 0.5919 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02283/1.683, allocations: 10.61 MB / 0.9127 GB, free: 4.992 MB / 0.5919 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.159e-05/1.683, allocations: 71.94 kB / 0.9128 GB, free: 4.922 MB / 0.5919 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.843e-05/1.683, allocations: 4 kB / 0.9128 GB, free: 4.918 MB / 0.5919 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001174/1.683, allocations: 31.88 kB / 0.9128 GB, free: 4.887 MB / 0.5919 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5121/2.195, allocations: 152.6 MB / 1.062 GB, free: 186.7 MB / 0.67 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001567/2.196, allocations: 88 kB / 1.062 GB, free: 186.6 MB / 0.67 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005415/2.201, allocations: 1.552 MB / 1.063 GB, free: 185.1 MB / 0.67 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.000786/2.202, allocations: 388.2 kB / 1.064 GB, free: 184.7 MB / 0.67 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007292/2.202, allocations: 259.1 kB / 1.064 GB, free: 184.4 MB / 0.67 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004875/2.207, allocations: 8.857 MB / 1.073 GB, free: 175 MB / 0.67 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.396e-05/2.207, allocations: 131.4 kB / 1.073 GB, free: 174.9 MB / 0.67 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02093/2.228, allocations: 18.63 MB / 1.091 GB, free: 154.6 MB / 0.67 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.005596/2.234, allocations: 2.08 MB / 1.093 GB, free: 152.9 MB / 0.67 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001892/2.236, allocations: 239.9 kB / 1.093 GB, free: 152.6 MB / 0.67 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005153/2.241, allocations: 0.5499 MB / 1.094 GB, free: 152.1 MB / 0.67 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009336/2.242, allocations: 0.765 MB / 1.095 GB, free: 151.3 MB / 0.67 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004468/2.242, allocations: 315.9 kB / 1.095 GB, free: 151 MB / 0.67 GB
Notification: Performance of sorting global known variables: time 0.007993/2.25, allocations: 6.059 MB / 1.101 GB, free: 145 MB / 0.67 GB
Notification: Performance of sort global known variables: time 9e-08/2.25, allocations: 0 / 1.101 GB, free: 145 MB / 0.67 GB
Notification: Performance of remove unused functions: time 0.009839/2.26, allocations: 2.636 MB / 1.103 GB, free: 142.5 MB / 0.67 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 389
 * Number of states: 1 (currentSource.plug_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 (721):
 * Single equations (assignments): 715
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 6
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 6 systems
   {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.001726/2.262, allocations: 0.4954 MB / 1.104 GB, free: 142.1 MB / 0.67 GB
Notification: Performance of simCode: created initialization part: time 0.0152/2.277, allocations: 10.33 MB / 1.114 GB, free: 131.6 MB / 0.67 GB
Notification: Performance of simCode: created event and clocks part: time 7.842e-05/2.277, allocations: 16.5 kB / 1.114 GB, free: 131.6 MB / 0.67 GB
Notification: Performance of simCode: created simulation system equations: time 0.008532/2.286, allocations: 5.285 MB / 1.119 GB, free: 126.3 MB / 0.67 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01262/2.298, allocations: 1.492 MB / 1.121 GB, free: 124.8 MB / 0.67 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04052/2.339, allocations: 24.98 MB / 1.145 GB, free: 98.6 MB / 0.67 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0097/2.349, allocations: 7.777 MB / 1.153 GB, free: 90.79 MB / 0.67 GB
Notification: Performance of simCode: alias equations: time 0.008489/2.357, allocations: 3.562 MB / 1.156 GB, free: 87.21 MB / 0.67 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002241/2.359, allocations: 0.6302 MB / 1.157 GB, free: 86.58 MB / 0.67 GB
Notification: Performance of SimCode: time 1.763e-06/2.359, allocations: 7.938 kB / 1.157 GB, free: 86.57 MB / 0.67 GB
Notification: Performance of Templates: time 0.1624/2.522, allocations: 101 MB / 1.255 GB, free: 2.227 MB / 0.6857 GB
"
[Timeout remaining time 657]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.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: 11.108782881870866]