Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.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.001419/0.001419, allocations: 102 kB / 21.22 MB, free: 0.6562 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.001407/0.001407, allocations: 185.2 kB / 24.51 MB, free: 4.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 225.6 MB / 253.3 MB, free: 13.05 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.246/0.246, allocations: 44.91 MB / 353.5 MB, free: 11.83 MB / 286.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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.0.0_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.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002261/0.002261, allocations: 71.88 kB / 497.7 MB, free: 0.9922 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4361/0.4384, allocations: 64.28 MB / 0.5488 GB, free: 13.14 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02386/0.4622, allocations: 19.85 MB / 0.5682 GB, free: 11.52 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01419/0.4764, allocations: 4.942 MB / 0.573 GB, free: 6.562 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.00603/0.4825, allocations: 195 kB / 0.5732 GB, free: 6.371 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.02026/0.5027, allocations: 7.856 MB / 0.5809 GB, free: 14.5 MB / 430.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.01014/0.5129, allocations: 2.273 MB / 0.5831 GB, free: 12.22 MB / 430.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.005459/0.5183, allocations: 1.298 MB / 0.5844 GB, free: 10.93 MB / 430.1 MB
Notification: Performance of NFFlatten.flatten: time 0.01994/0.5382, allocations: 12.21 MB / 0.5963 GB, free: 14.67 MB / 446.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0392/0.5774, allocations: 15.79 MB / 0.6117 GB, free: 14.68 MB / 462.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.01464/0.5921, allocations: 6.659 MB / 0.6182 GB, free: 8 MB / 462.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.01622/0.6083, allocations: 7.288 MB / 0.6253 GB, free: 0.6875 MB / 462.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.006619/0.6149, allocations: 1.719 MB / 0.627 GB, free: 14.96 MB / 478.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.009269/0.6242, allocations: 1.914 MB / 0.6289 GB, free: 13.05 MB / 478.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.008878/0.6331, allocations: 3.659 MB / 0.6325 GB, free: 9.387 MB / 478.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.02241/0.6555, allocations: 7.011 MB / 0.6393 GB, free: 2.348 MB / 478.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.03582/0.6913, allocations: 23.68 MB / 0.6624 GB, free: 10.59 MB / 0.4981 GB
Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.6913, allocations: 0 / 0.6624 GB, free: 10.59 MB / 0.4981 GB
Notification: Performance of FrontEnd: time 1.423e-06/0.6913, allocations: 0 / 0.6624 GB, free: 10.59 MB / 0.4981 GB
Notification: Performance of Transformations before backend: time 0.0007208/0.692, allocations: 0 / 0.6624 GB, free: 10.59 MB / 0.4981 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.05323/0.7452, allocations: 14.75 MB / 0.6768 GB, free: 11.74 MB / 0.5137 GB
Notification: Performance of prepare preOptimizeDAE: time 6.106e-05/0.7453, allocations: 12.92 kB / 0.6769 GB, free: 11.73 MB / 0.5137 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06348/0.8088, allocations: 11.49 MB / 0.6881 GB, free: 228 kB / 0.5137 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0195/0.8283, allocations: 7.479 MB / 0.6954 GB, free: 8.648 MB / 0.5294 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001211/0.8295, allocations: 0.8871 MB / 0.6962 GB, free: 7.758 MB / 0.5294 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.00696/0.8365, allocations: 1.172 MB / 0.6974 GB, free: 6.586 MB / 0.5294 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.06564/0.9021, allocations: 18.56 MB / 0.7155 GB, free: 3.969 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0009423/0.903, allocations: 15.95 kB / 0.7155 GB, free: 3.953 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006444/0.9095, allocations: 499.9 kB / 0.716 GB, free: 3.465 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001003/0.9105, allocations: 0.6538 MB / 0.7166 GB, free: 2.809 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.77/1.681, allocations: 19.07 MB / 0.7353 GB, free: 141.4 MB / 0.5607 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1293/1.81, allocations: 59.54 MB / 0.7934 GB, free: 105.4 MB / 0.5607 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.01876/1.829, allocations: 10.68 MB / 0.8038 GB, free: 95.27 MB / 0.5607 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.005881/1.834, allocations: 4.204 MB / 0.8079 GB, free: 91.04 MB / 0.5607 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0004534/1.835, allocations: 158.8 kB / 0.8081 GB, free: 90.91 MB / 0.5607 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.027e-05/1.835, allocations: 111.6 kB / 0.8082 GB, free: 90.79 MB / 0.5607 GB
Notification: Performance of pre-optimization done (n=653): time 7.524e-06/1.835, allocations: 0 / 0.8082 GB, free: 90.79 MB / 0.5607 GB
Notification: Performance of matching and sorting (n=653): time 0.0169/1.852, allocations: 11.93 MB / 0.8199 GB, free: 78.76 MB / 0.5607 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/1.852, allocations: 120.5 kB / 0.82 GB, free: 78.63 MB / 0.5607 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01264/1.865, allocations: 8.605 MB / 0.8284 GB, free: 70.08 MB / 0.5607 GB
Notification: Performance of collectPreVariables (initialization): time 0.002151/1.867, allocations: 133.7 kB / 0.8285 GB, free: 69.95 MB / 0.5607 GB
Notification: Performance of collectInitialEqns (initialization): time 0.003901/1.871, allocations: 4.608 MB / 0.833 GB, free: 65.84 MB / 0.5607 GB
Notification: Performance of collectInitialBindings (initialization): time 0.003409/1.874, allocations: 2.298 MB / 0.8352 GB, free: 63.54 MB / 0.5607 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.002347/1.876, allocations: 1.447 MB / 0.8367 GB, free: 62.09 MB / 0.5607 GB
Notification: Performance of setup shared object (initialization): time 9.656e-05/1.877, allocations: 309.1 kB / 0.837 GB, free: 61.79 MB / 0.5607 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.005767/1.882, allocations: 4.102 MB / 0.841 GB, free: 57.68 MB / 0.5607 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.008872/1.891, allocations: 6.905 MB / 0.8477 GB, free: 49.5 MB / 0.5607 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.01609/1.907, allocations: 11.94 MB / 0.8594 GB, free: 36.21 MB / 0.5607 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001003/1.907, allocations: 24 kB / 0.8594 GB, free: 36.19 MB / 0.5607 GB
Notification: Performance of matching and sorting (n=977) (initialization): time 0.02399/1.931, allocations: 12.04 MB / 0.8711 GB, free: 24.04 MB / 0.5607 GB
Notification: Performance of prepare postOptimizeDAE: time 0.0001061/1.931, allocations: 44 kB / 0.8712 GB, free: 23.99 MB / 0.5607 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001872/1.932, allocations: 88 kB / 0.8713 GB, free: 23.91 MB / 0.5607 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001094/1.933, allocations: 409 kB / 0.8717 GB, free: 23.49 MB / 0.5607 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007364/1.94, allocations: 2.005 MB / 0.8736 GB, free: 21.48 MB / 0.5607 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005877/1.946, allocations: 8.975 MB / 0.8824 GB, free: 11.82 MB / 0.5607 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009473/1.955, allocations: 1.393 MB / 0.8837 GB, free: 10.41 MB / 0.5607 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002241/1.958, allocations: 376 kB / 0.8841 GB, free: 10.05 MB / 0.5607 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.01286/1.971, allocations: 4.578 MB / 0.8886 GB, free: 5.453 MB / 0.5607 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003207/1.974, allocations: 0.7335 MB / 0.8893 GB, free: 4.715 MB / 0.5607 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02448/1.998, allocations: 10.6 MB / 0.8996 GB, free: 10.01 MB / 0.5763 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-05/1.998, allocations: 71.94 kB / 0.8997 GB, free: 9.941 MB / 0.5763 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-05/1.998, allocations: 3.938 kB / 0.8997 GB, free: 9.938 MB / 0.5763 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001537/1.999, allocations: 35.86 kB / 0.8997 GB, free: 9.902 MB / 0.5763 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6155/2.614, allocations: 152.1 MB / 1.048 GB, free: 186.2 MB / 0.6544 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001513/2.614, allocations: 84.88 kB / 1.048 GB, free: 186.1 MB / 0.6544 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00513/2.619, allocations: 1.536 MB / 1.05 GB, free: 184.6 MB / 0.6544 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0007429/2.62, allocations: 387 kB / 1.05 GB, free: 184.2 MB / 0.6544 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005407/2.621, allocations: 248 kB / 1.05 GB, free: 184 MB / 0.6544 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004634/2.625, allocations: 8.846 MB / 1.059 GB, free: 174.6 MB / 0.6544 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-05/2.625, allocations: 131.4 kB / 1.059 GB, free: 174.4 MB / 0.6544 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01861/2.644, allocations: 18.57 MB / 1.077 GB, free: 154.3 MB / 0.6544 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.00561/2.649, allocations: 2.058 MB / 1.079 GB, free: 152.5 MB / 0.6544 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001563/2.651, allocations: 253.8 kB / 1.08 GB, free: 152.3 MB / 0.6544 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005659/2.657, allocations: 0.558 MB / 1.08 GB, free: 151.7 MB / 0.6544 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001123/2.658, allocations: 0.7494 MB / 1.081 GB, free: 150.9 MB / 0.6544 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005064/2.658, allocations: 308 kB / 1.081 GB, free: 150.6 MB / 0.6544 GB
Notification: Performance of sorting global known variables: time 0.008858/2.667, allocations: 6.051 MB / 1.087 GB, free: 144.6 MB / 0.6544 GB
Notification: Performance of sort global known variables: time 1.91e-07/2.667, allocations: 0 / 1.087 GB, free: 144.6 MB / 0.6544 GB
Notification: Performance of remove unused functions: time 0.01121/2.678, allocations: 2.635 MB / 1.09 GB, free: 142.2 MB / 0.6544 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.001737/2.68, allocations: 499.4 kB / 1.09 GB, free: 141.7 MB / 0.6544 GB
Notification: Performance of simCode: created initialization part: time 0.01374/2.694, allocations: 10.29 MB / 1.1 GB, free: 131.3 MB / 0.6544 GB
Notification: Performance of simCode: created event and clocks part: time 8.175e-05/2.694, allocations: 12 kB / 1.1 GB, free: 131.3 MB / 0.6544 GB
Notification: Performance of simCode: created simulation system equations: time 0.007744/2.702, allocations: 5.264 MB / 1.105 GB, free: 126 MB / 0.6544 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01386/2.716, allocations: 1.491 MB / 1.107 GB, free: 124.5 MB / 0.6544 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04479/2.76, allocations: 25.09 MB / 1.131 GB, free: 98.24 MB / 0.6544 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01183/2.772, allocations: 7.773 MB / 1.139 GB, free: 90.43 MB / 0.6544 GB
Notification: Performance of simCode: alias equations: time 0.00863/2.781, allocations: 3.554 MB / 1.142 GB, free: 86.86 MB / 0.6544 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002512/2.783, allocations: 0.5892 MB / 1.143 GB, free: 86.27 MB / 0.6544 GB
Notification: Performance of SimCode: time 1.714e-06/2.783, allocations: 0 / 1.143 GB, free: 86.27 MB / 0.6544 GB
Notification: Performance of Templates: time 0.159/2.942, allocations: 99.93 MB / 1.241 GB, free: 2.984 MB / 0.67 GB
"
[Timeout remaining time 657]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.452096464112401]