Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.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.001865/0.001865, allocations: 105.5 kB / 19.68 MB, free: 2.211 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.002021/0.002021, allocations: 189.9 kB / 22.98 MB, free: 5.066 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.64/1.64, 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.2674/0.2674, allocations: 44.23 MB / 330.2 MB, free: 9.562 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.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection")
translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.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.002287/0.002287, allocations: 71.89 kB / 468 MB, free: 4.035 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1889, allocations: 61.03 MB / 0.5166 GB, free: 6.867 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.01012/0.199, allocations: 6.986 MB / 0.5234 GB, free: 15.84 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0055/0.2045, allocations: 2.217 MB / 0.5256 GB, free: 13.62 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0009059/0.2054, allocations: 23.94 kB / 0.5256 GB, free: 13.6 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.004154/0.2096, allocations: 1.54 MB / 0.5271 GB, free: 12.05 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.003266/0.2128, allocations: 0.8587 MB / 0.5279 GB, free: 11.19 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001731/0.2146, allocations: 0.592 MB / 0.5285 GB, free: 10.59 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.002313/0.2169, allocations: 1.186 MB / 0.5297 GB, free: 9.402 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001254/0.2181, allocations: 0.6173 MB / 0.5303 GB, free: 8.754 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0009154/0.2191, allocations: 0.4902 MB / 0.5308 GB, free: 8.262 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0007327/0.2198, allocations: 0.6147 MB / 0.5314 GB, free: 7.645 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001396/0.2199, allocations: 99.94 kB / 0.5315 GB, free: 7.547 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0009206/0.2209, allocations: 279.8 kB / 0.5317 GB, free: 7.273 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002678/0.2211, allocations: 259 kB / 0.532 GB, free: 7.02 MB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0007448/0.2219, allocations: 0.5635 MB / 0.5325 GB, free: 6.453 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.002727/0.2246, allocations: 1.482 MB / 0.534 GB, free: 4.965 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.2246, allocations: 0 / 0.534 GB, free: 4.965 MB / 414.1 MB
Notification: Performance of FrontEnd: time 2.354e-06/0.2246, allocations: 0 / 0.534 GB, free: 4.965 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 3.487e-05/0.2246, allocations: 0 / 0.534 GB, free: 4.965 MB / 414.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 316
 * Number of variables: 316
Notification: Performance of Generate backend data structure: time 0.006238/0.2309, allocations: 1.663 MB / 0.5356 GB, free: 3.266 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 7.646e-05/0.2309, allocations: 15.91 kB / 0.5356 GB, free: 3.25 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01139/0.2423, allocations: 1.432 MB / 0.537 GB, free: 1.816 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001832/0.2442, allocations: 495.4 kB / 0.5375 GB, free: 1.309 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001505/0.2443, allocations: 90.48 kB / 0.5376 GB, free: 1.219 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.000555/0.2449, allocations: 124 kB / 0.5377 GB, free: 1.098 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.394/0.6388, allocations: 1.187 MB / 0.5388 GB, free: 27.09 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 9.071e-05/0.6389, allocations: 3.203 kB / 0.5388 GB, free: 27.09 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001607/0.6391, allocations: 49.61 kB / 0.5389 GB, free: 27.09 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.662e-05/0.6391, allocations: 30.22 kB / 0.5389 GB, free: 27.09 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003378/0.6425, allocations: 1.437 MB / 0.5403 GB, free: 27.07 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009322/0.6518, allocations: 3.881 MB / 0.5441 GB, free: 25.68 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.002085/0.6539, allocations: 0.8376 MB / 0.5449 GB, free: 25.36 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0007403/0.6547, allocations: 337.9 kB / 0.5453 GB, free: 25.23 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001096/0.6548, allocations: 25.84 kB / 0.5453 GB, free: 25.22 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.074e-05/0.6548, allocations: 45.17 kB / 0.5453 GB, free: 25.18 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=91): time 5.209e-06/0.6548, allocations: 2.844 kB / 0.5453 GB, free: 25.18 MB / 414.1 MB
Notification: Performance of matching and sorting (n=91): time 0.002845/0.6577, allocations: 1.047 MB / 0.5463 GB, free: 24.74 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.6577, allocations: 62.19 kB / 0.5464 GB, free: 24.68 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/0.6592, allocations: 0.7988 MB / 0.5472 GB, free: 24.32 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 7.411e-05/0.6592, allocations: 41.48 kB / 0.5472 GB, free: 24.28 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0003976/0.6596, allocations: 498.1 kB / 0.5477 GB, free: 23.93 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002664/0.6599, allocations: 325.3 kB / 0.548 GB, free: 23.72 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003634/0.6603, allocations: 197.9 kB / 0.5482 GB, free: 23.62 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002035/0.6605, allocations: 405.3 kB / 0.5486 GB, free: 23.26 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007071/0.6612, allocations: 348.5 kB / 0.5489 GB, free: 23.13 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.00087/0.662, allocations: 0.5997 MB / 0.5495 GB, free: 22.68 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001641/0.6637, allocations: 0.9762 MB / 0.5505 GB, free: 22.05 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.418e-05/0.6637, allocations: 4.062 kB / 0.5505 GB, free: 22.05 MB / 414.1 MB
Notification: Performance of matching and sorting (n=143) (initialization): time 0.002662/0.6663, allocations: 1.17 MB / 0.5516 GB, free: 21.56 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.851e-05/0.6664, allocations: 12.44 kB / 0.5516 GB, free: 21.56 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.239e-05/0.6664, allocations: 8.969 kB / 0.5516 GB, free: 21.56 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0003992/0.6668, allocations: 71.55 kB / 0.5517 GB, free: 21.53 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.668, allocations: 258.4 kB / 0.5519 GB, free: 21.5 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002353/0.6704, allocations: 2.626 MB / 0.5545 GB, free: 18.91 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.6716, allocations: 153.8 kB / 0.5546 GB, free: 18.8 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.6717, allocations: 48.38 kB / 0.5547 GB, free: 18.79 MB / 414.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 36
 * 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 (141):
 * Single equations (assignments): 139
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 2 systems
   {(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.0005591/0.6723, allocations: 255.5 kB / 0.5549 GB, free: 18.58 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002691/0.6725, allocations: 98.95 kB / 0.555 GB, free: 18.53 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002181/0.6747, allocations: 1.1 MB / 0.5561 GB, free: 18 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/0.6747, allocations: 9.844 kB / 0.5561 GB, free: 18 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.6747, allocations: 4 kB / 0.5561 GB, free: 18 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.571e-05/0.6747, allocations: 4.875 kB / 0.5561 GB, free: 18 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004815/0.6796, allocations: 2.326 MB / 0.5584 GB, free: 16.71 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.917e-05/0.6796, allocations: 10.88 kB / 0.5584 GB, free: 16.71 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009029/0.6805, allocations: 179.9 kB / 0.5586 GB, free: 16.7 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0003254/0.6808, allocations: 65.75 kB / 0.5586 GB, free: 16.67 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.079e-05/0.6809, allocations: 27.08 kB / 0.5587 GB, free: 16.66 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002026/0.6829, allocations: 2.617 MB / 0.5612 GB, free: 14.05 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.508e-06/0.6829, allocations: 6.906 kB / 0.5612 GB, free: 14.05 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002685/0.6856, allocations: 1.489 MB / 0.5627 GB, free: 13.14 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0004026/0.686, allocations: 125.2 kB / 0.5628 GB, free: 13.06 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001648/0.6862, allocations: 31.23 kB / 0.5628 GB, free: 13.04 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007131/0.6869, allocations: 53.34 kB / 0.5629 GB, free: 13.03 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001769/0.6871, allocations: 86.05 kB / 0.563 GB, free: 13 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.336e-05/0.6871, allocations: 38.42 kB / 0.563 GB, free: 12.99 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.00101/0.6881, allocations: 0.5596 MB / 0.5635 GB, free: 12.75 MB / 414.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.6881, allocations: 4 kB / 0.5636 GB, free: 12.74 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.001357/0.6895, allocations: 292.1 kB / 0.5638 GB, free: 12.69 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 26
 * Number of states: 1 (currentSource.pin_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 (94):
 * Single equations (assignments): 92
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 2 systems
   {(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.0004/0.6899, allocations: 171.9 kB / 0.564 GB, free: 12.56 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.002588/0.6925, allocations: 1.05 MB / 0.565 GB, free: 12.04 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 7.765e-06/0.6925, allocations: 0 / 0.565 GB, free: 12.04 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001032/0.6935, allocations: 0.5989 MB / 0.5656 GB, free: 11.67 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.6946, allocations: 121 kB / 0.5657 GB, free: 11.61 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005912/0.7005, allocations: 1.844 MB / 0.5675 GB, free: 10.49 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001139/0.7016, allocations: 0.9968 MB / 0.5685 GB, free: 9.781 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.001047/0.7027, allocations: 156 kB / 0.5686 GB, free: 9.738 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004289/0.7031, allocations: 79.7 kB / 0.5687 GB, free: 9.727 MB / 414.1 MB
Notification: Performance of SimCode: time 3.166e-06/0.7031, allocations: 0 / 0.5687 GB, free: 9.727 MB / 414.1 MB
Notification: Performance of Templates: time 0.03246/0.7356, allocations: 11.25 MB / 0.5797 GB, free: 5.836 MB / 414.1 MB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile [Timeout 660]
(rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.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: 6.426797607913613]