Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.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.001565/0.001565, 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.002214/0.002214, allocations: 191 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.942/1.942, 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.2661/0.2661, allocations: 44.24 MB / 330.2 MB, free: 9.539 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.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal")
translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") [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.002246/0.002246, allocations: 75.89 kB / 468 MB, free: 4.027 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1586, allocations: 61.03 MB / 0.5166 GB, free: 6.855 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.3246/0.4832, allocations: 23.02 MB / 0.5391 GB, free: 9.941 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01648/0.4997, allocations: 5.528 MB / 0.5445 GB, free: 9.879 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.007713/0.5074, allocations: 203.3 kB / 0.5447 GB, free: 9.875 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.02531/0.5327, allocations: 9.6 MB / 0.554 GB, free: 8.066 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.01288/0.5456, allocations: 2.454 MB / 0.5564 GB, free: 7 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.006919/0.5525, allocations: 1.757 MB / 0.5581 GB, free: 6.133 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.02562/0.5781, allocations: 14.75 MB / 0.5725 GB, free: 15.02 MB / 430.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.07266/0.6508, allocations: 20.08 MB / 0.5922 GB, free: 3.297 MB / 430.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.018/0.6688, allocations: 8.239 MB / 0.6002 GB, free: 12.44 MB / 446.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.01963/0.6884, allocations: 8.93 MB / 0.6089 GB, free: 3.824 MB / 446.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.007431/0.6959, allocations: 2.113 MB / 0.611 GB, free: 1.711 MB / 446.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0105/0.7064, allocations: 2.348 MB / 0.6133 GB, free: 15.37 MB / 462.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.008909/0.7153, allocations: 4.404 MB / 0.6176 GB, free: 11.05 MB / 462.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.02286/0.7381, allocations: 8.529 MB / 0.6259 GB, free: 2.582 MB / 462.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.04761/0.7857, allocations: 28.79 MB / 0.654 GB, free: 6.348 MB / 494.1 MB
Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.7858, allocations: 0 / 0.654 GB, free: 6.348 MB / 494.1 MB
Notification: Performance of FrontEnd: time 2.224e-06/0.7858, allocations: 0 / 0.654 GB, free: 6.348 MB / 494.1 MB
Notification: Performance of Transformations before backend: time 0.0009963/0.7868, allocations: 0 / 0.654 GB, free: 6.348 MB / 494.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 3927
 * Number of variables: 3927
Notification: Performance of Generate backend data structure: time 0.07105/0.8578, allocations: 19.17 MB / 0.6727 GB, free: 3.254 MB / 0.4981 GB
Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/0.8579, allocations: 8.031 kB / 0.6727 GB, free: 3.246 MB / 0.4981 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06893/0.9268, allocations: 12.74 MB / 0.6852 GB, free: 6.629 MB / 0.5137 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.02283/0.9496, allocations: 8.116 MB / 0.6931 GB, free: 14.48 MB / 0.5294 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001622/0.9512, allocations: 1.082 MB / 0.6942 GB, free: 13.41 MB / 0.5294 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.008146/0.9594, allocations: 1.392 MB / 0.6955 GB, free: 12.03 MB / 0.5294 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.08621/1.046, allocations: 24.1 MB / 0.7191 GB, free: 3.871 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 0.001158/1.047, allocations: 23.84 kB / 0.7191 GB, free: 3.848 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009066/1.056, allocations: 0.5801 MB / 0.7197 GB, free: 3.281 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001091/1.057, allocations: 0.7374 MB / 0.7204 GB, free: 2.543 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06197/1.119, allocations: 22.44 MB / 0.7423 GB, free: 12.08 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8595/1.978, allocations: 70.74 MB / 0.8114 GB, free: 120.9 MB / 0.5919 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.02219/2.001, allocations: 12.08 MB / 0.8232 GB, free: 117.2 MB / 0.5919 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.007976/2.009, allocations: 4.6 MB / 0.8277 GB, free: 115.6 MB / 0.5919 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.02991/2.038, allocations: 15.29 MB / 0.8426 GB, free: 107.1 MB / 0.5919 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.982e-05/2.039, allocations: 81.23 kB / 0.8427 GB, free: 107.1 MB / 0.5919 GB
Notification: Performance of pre-optimization done (n=465): time 7.715e-06/2.039, allocations: 3.75 kB / 0.8427 GB, free: 107.1 MB / 0.5919 GB
Notification: Performance of matching and sorting (n=465): time 0.03335/2.072, allocations: 15.37 MB / 0.8577 GB, free: 98.91 MB / 0.5919 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/2.072, allocations: 124.1 kB / 0.8578 GB, free: 98.81 MB / 0.5919 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007804/2.08, allocations: 5.272 MB / 0.8629 GB, free: 95.49 MB / 0.5919 GB
Notification: Performance of collectPreVariables (initialization): time 0.00105/2.081, allocations: 97.7 kB / 0.863 GB, free: 95.39 MB / 0.5919 GB
Notification: Performance of collectInitialEqns (initialization): time 0.003637/2.084, allocations: 6.263 MB / 0.8692 GB, free: 90.13 MB / 0.5919 GB
Notification: Performance of collectInitialBindings (initialization): time 0.002196/2.087, allocations: 1.675 MB / 0.8708 GB, free: 88.57 MB / 0.5919 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.002394/2.089, allocations: 1.603 MB / 0.8724 GB, free: 86.96 MB / 0.5919 GB
Notification: Performance of setup shared object (initialization): time 4.684e-05/2.089, allocations: 301.1 kB / 0.8726 GB, free: 86.66 MB / 0.5919 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.005553/2.095, allocations: 4.204 MB / 0.8768 GB, free: 82.46 MB / 0.5919 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.007074/2.102, allocations: 7.554 MB / 0.8841 GB, free: 73.38 MB / 0.5919 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.01521/2.117, allocations: 12.32 MB / 0.8962 GB, free: 59.95 MB / 0.5919 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001682/2.117, allocations: 33.42 kB / 0.8962 GB, free: 59.91 MB / 0.5919 GB
Notification: Performance of matching and sorting (n=1000) (initialization): time 0.02376/2.141, allocations: 13.4 MB / 0.9093 GB, free: 47.19 MB / 0.5919 GB
Notification: Performance of prepare postOptimizeDAE: time 0.0001477/2.141, allocations: 52 kB / 0.9093 GB, free: 47.14 MB / 0.5919 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002056/2.141, allocations: 116 kB / 0.9094 GB, free: 47.02 MB / 0.5919 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.005675/2.147, allocations: 3.098 MB / 0.9125 GB, free: 43.91 MB / 0.5919 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006264/2.153, allocations: 1.666 MB / 0.9141 GB, free: 42.37 MB / 0.5919 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007377/2.154, allocations: 316.7 kB / 0.9144 GB, free: 42.1 MB / 0.5919 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008022/2.162, allocations: 1.126 MB / 0.9155 GB, free: 40.96 MB / 0.5919 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001905/2.164, allocations: 404 kB / 0.9159 GB, free: 40.57 MB / 0.5919 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 512
 * Number of states: 0 ()
 * Number of discrete variables: 12 (booleanStep4[3].y,booleanStep4[2].y,booleanStep4[1].y,booleanStep3[3].y,booleanStep3[2].y,booleanStep3[1].y,booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,booleanStep1[3].y,booleanStep1[2].y,booleanStep1[1].y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (853):
 * Single equations (assignments): 850
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 3
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 3 systems
   {(20,30), (20,28), (20,28)}
Notification: Performance of prepare postOptimizeDAE: time 0.01174/2.176, allocations: 5.46 MB / 0.9212 GB, free: 35.22 MB / 0.5919 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001295/2.177, allocations: 0.5356 MB / 0.9217 GB, free: 34.68 MB / 0.5919 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01413/2.191, allocations: 9.576 MB / 0.9311 GB, free: 25.09 MB / 0.5919 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-05/2.191, allocations: 48 kB / 0.9311 GB, free: 25.04 MB / 0.5919 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/2.191, allocations: 2.734 kB / 0.9311 GB, free: 25.04 MB / 0.5919 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.258e-05/2.191, allocations: 27.91 kB / 0.9312 GB, free: 25.01 MB / 0.5919 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03765/2.229, allocations: 20.91 MB / 0.9516 GB, free: 4.172 MB / 0.5919 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.85e-05/2.229, allocations: 8 kB / 0.9516 GB, free: 4.164 MB / 0.5919 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003151/2.232, allocations: 0.7238 MB / 0.9523 GB, free: 3.473 MB / 0.5919 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.005423/2.237, allocations: 2.964 MB / 0.9552 GB, free: 0.5 MB / 0.5919 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001031/2.238, allocations: 95.98 kB / 0.9553 GB, free: 416 kB / 0.5919 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004918/2.239, allocations: 126.5 kB / 0.9554 GB, free: 280 kB / 0.5919 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/2.239, allocations: 0 / 0.9554 GB, free: 280 kB / 0.5919 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02689/2.266, allocations: 14.11 MB / 0.9692 GB, free: 2.148 MB / 0.6075 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.005528/2.271, allocations: 1.38 MB / 0.9705 GB, free: 0.7656 MB / 0.6075 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001556/2.273, allocations: 80 kB / 0.9706 GB, free: 0.6875 MB / 0.6075 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003667/2.276, allocations: 367.6 kB / 0.9709 GB, free: 336 kB / 0.6075 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008892/2.277, allocations: 335.1 kB / 0.9713 GB, free: 0 / 0.6075 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003835/2.278, allocations: 124 kB / 0.9714 GB, free: 15.88 MB / 0.6232 GB
Notification: Performance of sorting global known variables: time 0.00797/2.286, allocations: 3.508 MB / 0.9748 GB, free: 12.38 MB / 0.6232 GB
Notification: Performance of sort global known variables: time 2.2e-07/2.286, allocations: 0 / 0.9748 GB, free: 12.38 MB / 0.6232 GB
Notification: Performance of remove unused functions: time 0.01346/2.299, allocations: 3.281 MB / 0.978 GB, free: 9.086 MB / 0.6232 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 1 (voltageSource.plug_p.reference.gamma)
 * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (357):
 * Single equations (assignments): 354
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 3
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 3 systems
   {(20,30), (20,28), (20,28)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.001595/2.301, allocations: 254.9 kB / 0.9783 GB, free: 8.863 MB / 0.6232 GB
Notification: Performance of simCode: created initialization part: time 0.02295/2.324, allocations: 9.611 MB / 0.9876 GB, free: 15.56 MB / 0.6388 GB
Notification: Performance of simCode: created event and clocks part: time 2.229e-05/2.324, allocations: 4 kB / 0.9876 GB, free: 15.56 MB / 0.6388 GB
Notification: Performance of simCode: created simulation system equations: time 0.01153/2.335, allocations: 4.106 MB / 0.9917 GB, free: 11.5 MB / 0.6388 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009566/2.345, allocations: 1.269 MB / 0.9929 GB, free: 10.24 MB / 0.6388 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06035/2.405, allocations: 24.95 MB / 1.017 GB, free: 1.301 MB / 0.6544 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3339/2.739, allocations: 9.108 MB / 1.026 GB, free: 213.9 MB / 0.6544 GB
Notification: Performance of simCode: alias equations: time 0.01004/2.749, allocations: 2.938 MB / 1.029 GB, free: 213.7 MB / 0.6544 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002212/2.751, allocations: 387.2 kB / 1.029 GB, free: 213.7 MB / 0.6544 GB
Notification: Performance of SimCode: time 1.733e-06/2.751, allocations: 0 / 1.029 GB, free: 213.7 MB / 0.6544 GB
Notification: Performance of Templates: time 0.1905/2.942, allocations: 98.91 MB / 1.126 GB, free: 151.5 MB / 0.6544 GB
"
[Timeout remaining time 657]
make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.makefile [Timeout 660]
(rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/Ideal/Ideal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.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.736860651522875]