Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.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.001356/0.001356, allocations: 107.2 kB / 19.69 MB, free: 2.199 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.001321/0.001321, allocations: 191.1 kB / 22.98 MB, free: 5.062 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.644/1.644, allocations: 207.6 MB / 233.7 MB, free: 10.01 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.2742/0.2742, allocations: 44.23 MB / 330.2 MB, free: 9.559 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.Electrical.QuasiStatic.MultiPhase.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_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection")
translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.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_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") [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.002224/0.002224, allocations: 75.06 kB / 468 MB, free: 4.035 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.169, allocations: 61.04 MB / 0.5166 GB, free: 6.859 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.02531/0.1943, allocations: 20.01 MB / 0.5361 GB, free: 2.754 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.3785/0.5728, allocations: 4.95 MB / 0.541 GB, free: 9.926 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.006855/0.5796, allocations: 164.8 kB / 0.5411 GB, free: 9.926 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.02059/0.6002, allocations: 7.878 MB / 0.5488 GB, free: 9.672 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0132/0.6134, allocations: 2.356 MB / 0.5511 GB, free: 9.238 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.00607/0.6195, allocations: 1.303 MB / 0.5524 GB, free: 8.969 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.02178/0.6413, allocations: 12.42 MB / 0.5645 GB, free: 3.047 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.05467/0.696, allocations: 16.11 MB / 0.5803 GB, free: 11.84 MB / 430.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.02055/0.7165, allocations: 6.752 MB / 0.5868 GB, free: 8.488 MB / 430.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.02474/0.7412, allocations: 7.414 MB / 0.5941 GB, free: 3.191 MB / 430.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.00912/0.7504, allocations: 1.734 MB / 0.5958 GB, free: 1.457 MB / 430.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.013/0.7634, allocations: 1.921 MB / 0.5977 GB, free: 15.54 MB / 446.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0104/0.7738, allocations: 3.732 MB / 0.6013 GB, free: 11.88 MB / 446.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.02052/0.7943, allocations: 7.124 MB / 0.6083 GB, free: 4.805 MB / 446.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.04566/0.8399, allocations: 23.74 MB / 0.6314 GB, free: 13.51 MB / 478.1 MB
Notification: Performance of FrontEnd - DAE generated: time 1.411e-05/0.84, allocations: 7.938 kB / 0.6315 GB, free: 13.5 MB / 478.1 MB
Notification: Performance of FrontEnd: time 2.635e-06/0.84, allocations: 0 / 0.6315 GB, free: 13.5 MB / 478.1 MB
Notification: Performance of Transformations before backend: time 0.001258/0.8412, allocations: 0 / 0.6315 GB, free: 13.5 MB / 478.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 3365
 * Number of variables: 3365
Notification: Performance of Generate backend data structure: time 0.05711/0.8983, allocations: 14.98 MB / 0.6461 GB, free: 14.55 MB / 494.1 MB
Notification: Performance of prepare preOptimizeDAE: time 7.574e-05/0.8984, allocations: 8.031 kB / 0.6461 GB, free: 14.54 MB / 494.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07108/0.9695, allocations: 12.49 MB / 0.6583 GB, free: 2.176 MB / 494.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.02135/0.9908, allocations: 6.77 MB / 0.6649 GB, free: 11.35 MB / 0.4981 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001552/0.9924, allocations: 0.8968 MB / 0.6658 GB, free: 10.46 MB / 0.4981 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.007755/1, allocations: 1.187 MB / 0.6669 GB, free: 9.289 MB / 0.4981 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.06462/1.065, allocations: 19.04 MB / 0.6855 GB, free: 6.234 MB / 0.5137 GB
Notification: Performance of preOpt findStateOrder (simulation): time 0.001188/1.066, allocations: 27.78 kB / 0.6856 GB, free: 6.211 MB / 0.5137 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007813/1.074, allocations: 0.5005 MB / 0.686 GB, free: 5.727 MB / 0.5137 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001083/1.075, allocations: 0.6856 MB / 0.6867 GB, free: 5.039 MB / 0.5137 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05498/1.13, allocations: 19.83 MB / 0.7061 GB, free: 1.191 MB / 0.5294 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1692/1.299, allocations: 60.64 MB / 0.7653 GB, free: 3.934 MB / 0.5919 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.7416/2.041, allocations: 11.52 MB / 0.7765 GB, free: 168.6 MB / 0.5919 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.009691/2.05, allocations: 4.304 MB / 0.7808 GB, free: 167.2 MB / 0.5919 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0008894/2.051, allocations: 168.3 kB / 0.7809 GB, free: 167.2 MB / 0.5919 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001038/2.051, allocations: 108.4 kB / 0.781 GB, free: 167.1 MB / 0.5919 GB
Notification: Performance of pre-optimization done (n=674): time 9.027e-06/2.051, allocations: 0 / 0.781 GB, free: 167.1 MB / 0.5919 GB
Notification: Performance of matching and sorting (n=674): time 0.03557/2.087, allocations: 12.13 MB / 0.7929 GB, free: 163.3 MB / 0.5919 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001572/2.087, allocations: 120.3 kB / 0.793 GB, free: 163.3 MB / 0.5919 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02834/2.115, allocations: 8.73 MB / 0.8015 GB, free: 160.5 MB / 0.5919 GB
Notification: Performance of collectPreVariables (initialization): time 0.001861/2.117, allocations: 133.4 kB / 0.8016 GB, free: 160.4 MB / 0.5919 GB
Notification: Performance of collectInitialEqns (initialization): time 0.007114/2.124, allocations: 4.73 MB / 0.8063 GB, free: 157.6 MB / 0.5919 GB
Notification: Performance of collectInitialBindings (initialization): time 0.00445/2.129, allocations: 2.379 MB / 0.8086 GB, free: 156 MB / 0.5919 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.007991/2.137, allocations: 1.516 MB / 0.8101 GB, free: 155.3 MB / 0.5919 GB
Notification: Performance of setup shared object (initialization): time 6.474e-05/2.137, allocations: 301.1 kB / 0.8103 GB, free: 155 MB / 0.5919 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.008432/2.145, allocations: 4.194 MB / 0.8144 GB, free: 153.7 MB / 0.5919 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.01156/2.157, allocations: 7.226 MB / 0.8215 GB, free: 148.5 MB / 0.5919 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.01763/2.174, allocations: 12.39 MB / 0.8336 GB, free: 140.9 MB / 0.5919 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001926/2.175, allocations: 30.12 kB / 0.8336 GB, free: 140.9 MB / 0.5919 GB
Notification: Performance of matching and sorting (n=1028) (initialization): time 0.03342/2.208, allocations: 12.44 MB / 0.8458 GB, free: 136.2 MB / 0.5919 GB
Notification: Performance of prepare postOptimizeDAE: time 0.0002499/2.208, allocations: 55.03 kB / 0.8458 GB, free: 136.2 MB / 0.5919 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003313/2.209, allocations: 95.75 kB / 0.8459 GB, free: 136.2 MB / 0.5919 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001324/2.21, allocations: 431.5 kB / 0.8463 GB, free: 135.8 MB / 0.5919 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009627/2.22, allocations: 2.096 MB / 0.8484 GB, free: 133.8 MB / 0.5919 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006527/2.226, allocations: 8.99 MB / 0.8572 GB, free: 124.1 MB / 0.5919 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01055/2.237, allocations: 1.437 MB / 0.8586 GB, free: 123 MB / 0.5919 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002684/2.239, allocations: 396 kB / 0.8589 GB, free: 122.6 MB / 0.5919 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 451
 * 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 (1022):
 * Single equations (assignments): 1016
 * 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.01403/2.253, allocations: 4.66 MB / 0.8635 GB, free: 117.9 MB / 0.5919 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002744/2.256, allocations: 0.749 MB / 0.8642 GB, free: 117.1 MB / 0.5919 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02227/2.278, allocations: 11.04 MB / 0.875 GB, free: 106 MB / 0.5919 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.454e-05/2.278, allocations: 72 kB / 0.8751 GB, free: 105.9 MB / 0.5919 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.201e-05/2.279, allocations: 4 kB / 0.8751 GB, free: 105.9 MB / 0.5919 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001429/2.279, allocations: 35.86 kB / 0.8751 GB, free: 105.9 MB / 0.5919 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5525/2.831, allocations: 154.7 MB / 1.026 GB, free: 180 MB / 0.6232 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003564/2.832, allocations: 87.72 kB / 1.026 GB, free: 180 MB / 0.6232 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006788/2.838, allocations: 1.572 MB / 1.028 GB, free: 179.9 MB / 0.6232 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001029/2.839, allocations: 388.2 kB / 1.028 GB, free: 179.8 MB / 0.6232 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001023/2.84, allocations: 250.8 kB / 1.028 GB, free: 179.8 MB / 0.6232 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005746/2.846, allocations: 8.859 MB / 1.037 GB, free: 172 MB / 0.6232 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001014/2.846, allocations: 138 kB / 1.037 GB, free: 172 MB / 0.6232 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02584/2.872, allocations: 18.89 MB / 1.056 GB, free: 160.8 MB / 0.6232 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.007625/2.88, allocations: 2.088 MB / 1.058 GB, free: 160.1 MB / 0.6232 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003281/2.883, allocations: 254.5 kB / 1.058 GB, free: 160 MB / 0.6232 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007198/2.89, allocations: 0.5585 MB / 1.058 GB, free: 159.9 MB / 0.6232 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002258/2.892, allocations: 0.7668 MB / 1.059 GB, free: 159.7 MB / 0.6232 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001561/2.894, allocations: 315 kB / 1.059 GB, free: 159.6 MB / 0.6232 GB
Notification: Performance of sorting global known variables: time 0.01308/2.907, allocations: 6.118 MB / 1.065 GB, free: 157.5 MB / 0.6232 GB
Notification: Performance of sort global known variables: time 2e-07/2.907, allocations: 7.906 kB / 1.065 GB, free: 157.5 MB / 0.6232 GB
Notification: Performance of remove unused functions: time 0.01581/2.923, allocations: 2.698 MB / 1.068 GB, free: 157.1 MB / 0.6232 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 397
 * 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 (741):
 * Single equations (assignments): 735
 * 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.002588/2.925, allocations: 0.4934 MB / 1.069 GB, free: 156.7 MB / 0.6232 GB
Notification: Performance of simCode: created initialization part: time 0.01774/2.943, allocations: 10.52 MB / 1.079 GB, free: 152.8 MB / 0.6232 GB
Notification: Performance of simCode: created event and clocks part: time 8.104e-05/2.943, allocations: 15.78 kB / 1.079 GB, free: 152.8 MB / 0.6232 GB
Notification: Performance of simCode: created simulation system equations: time 0.009087/2.952, allocations: 5.33 MB / 1.084 GB, free: 150.6 MB / 0.6232 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01745/2.97, allocations: 1.504 MB / 1.086 GB, free: 150.1 MB / 0.6232 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04916/3.019, allocations: 25.58 MB / 1.111 GB, free: 128.6 MB / 0.6232 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01573/3.035, allocations: 7.888 MB / 1.118 GB, free: 121.8 MB / 0.6232 GB
Notification: Performance of simCode: alias equations: time 0.01285/3.048, allocations: 3.642 MB / 1.122 GB, free: 118.1 MB / 0.6232 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004225/3.052, allocations: 0.597 MB / 1.122 GB, free: 117.6 MB / 0.6232 GB
Notification: Performance of SimCode: time 2.815e-06/3.052, allocations: 0 / 1.122 GB, free: 117.6 MB / 0.6232 GB
Notification: Performance of Templates: time 0.1588/3.211, allocations: 101.3 MB / 1.221 GB, free: 16.45 MB / 0.6232 GB
"
[Timeout remaining time 657]
make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.makefile [Timeout 660]
(rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.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.939485870301723]