Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.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.001292/0.001292, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001763/0.001763, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.514/1.514, allocations: 230.3 MB / 258 MB, free: 8.188 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.2378/0.2378, allocations: 46.93 MB / 361.4 MB, free: 4.359 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.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.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.002544/0.002544, allocations: 79.86 kB / 0.4972 GB, free: 7.48 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.3875, allocations: 66.04 MB / 0.5617 GB, free: 4.48 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.01001/0.3975, allocations: 7.559 MB / 0.569 GB, free: 12.89 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.005754/0.4033, allocations: 2.377 MB / 0.5714 GB, free: 10.51 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.00112/0.4044, allocations: 23.94 kB / 0.5714 GB, free: 10.48 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.004177/0.4086, allocations: 1.749 MB / 0.5731 GB, free: 8.73 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.002436/0.411, allocations: 0.71 MB / 0.5738 GB, free: 8.02 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001805/0.4128, allocations: 0.7513 MB / 0.5745 GB, free: 7.27 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.002064/0.4149, allocations: 1.241 MB / 0.5757 GB, free: 6.02 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.00126/0.4161, allocations: 0.7198 MB / 0.5764 GB, free: 5.273 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.000875/0.417, allocations: 0.5214 MB / 0.5769 GB, free: 4.75 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0007654/0.4178, allocations: 0.6692 MB / 0.5776 GB, free: 4.078 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001453/0.4179, allocations: 104 kB / 0.5777 GB, free: 3.977 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0007508/0.4187, allocations: 299.8 kB / 0.578 GB, free: 3.684 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002236/0.4189, allocations: 274.9 kB / 0.5782 GB, free: 3.414 MB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0005676/0.4195, allocations: 0.6064 MB / 0.5788 GB, free: 2.805 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.002146/0.4216, allocations: 1.621 MB / 0.5804 GB, free: 1.18 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.4216, allocations: 0 / 0.5804 GB, free: 1.18 MB / 414.1 MB
Notification: Performance of FrontEnd: time 3.056e-06/0.4216, allocations: 0 / 0.5804 GB, free: 1.18 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 2.356e-05/0.4217, allocations: 0 / 0.5804 GB, free: 1.18 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: 338
 * Number of variables: 338
Notification: Performance of Generate backend data structure: time 0.004571/0.4262, allocations: 1.761 MB / 0.5821 GB, free: 15.38 MB / 430.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.4263, allocations: 12.03 kB / 0.5821 GB, free: 15.37 MB / 430.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008954/0.4352, allocations: 1.264 MB / 0.5834 GB, free: 14.11 MB / 430.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/0.4365, allocations: 0.5002 MB / 0.5839 GB, free: 13.58 MB / 430.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.742e-05/0.4366, allocations: 99.03 kB / 0.584 GB, free: 13.48 MB / 430.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002136/0.4368, allocations: 144.1 kB / 0.5841 GB, free: 13.34 MB / 430.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002328/0.4392, allocations: 1.245 MB / 0.5853 GB, free: 12.07 MB / 430.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 4.288e-05/0.4392, allocations: 8 kB / 0.5853 GB, free: 12.06 MB / 430.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.4393, allocations: 52 kB / 0.5854 GB, free: 12.01 MB / 430.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.801e-05/0.4394, allocations: 36 kB / 0.5854 GB, free: 11.98 MB / 430.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002467/0.4418, allocations: 1.455 MB / 0.5868 GB, free: 10.52 MB / 430.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007833/0.4497, allocations: 4.202 MB / 0.5909 GB, free: 6.211 MB / 430.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001764/0.4514, allocations: 0.8227 MB / 0.5917 GB, free: 5.379 MB / 430.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0005647/0.452, allocations: 334.2 kB / 0.5921 GB, free: 5.055 MB / 430.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001276/0.4521, allocations: 44.94 kB / 0.5921 GB, free: 5.012 MB / 430.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.216e-05/0.4522, allocations: 47.56 kB / 0.5921 GB, free: 4.953 MB / 430.1 MB
Notification: Performance of pre-optimization done (n=90): time 2.264e-06/0.4522, allocations: 0 / 0.5921 GB, free: 4.953 MB / 430.1 MB
Notification: Performance of matching and sorting (n=90): time 0.002312/0.4545, allocations: 1.056 MB / 0.5932 GB, free: 3.891 MB / 430.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.4545, allocations: 64.41 kB / 0.5932 GB, free: 3.816 MB / 430.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/0.4557, allocations: 0.8209 MB / 0.594 GB, free: 2.98 MB / 430.1 MB
Notification: Performance of collectPreVariables (initialization): time 6.398e-05/0.4557, allocations: 41.7 kB / 0.5941 GB, free: 2.934 MB / 430.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0004478/0.4562, allocations: 0.5155 MB / 0.5946 GB, free: 2.41 MB / 430.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002945/0.4565, allocations: 317.3 kB / 0.5949 GB, free: 2.098 MB / 430.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003343/0.4568, allocations: 206.8 kB / 0.5951 GB, free: 1.891 MB / 430.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002325/0.4571, allocations: 398.7 kB / 0.5955 GB, free: 1.492 MB / 430.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006601/0.4577, allocations: 354.4 kB / 0.5958 GB, free: 1.145 MB / 430.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009064/0.4586, allocations: 0.6192 MB / 0.5964 GB, free: 420 kB / 430.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/0.4602, allocations: 0.9876 MB / 0.5974 GB, free: 15.3 MB / 446.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.4602, allocations: 7.938 kB / 0.5974 GB, free: 15.3 MB / 446.1 MB
Notification: Performance of matching and sorting (n=143) (initialization): time 0.002348/0.4625, allocations: 1.194 MB / 0.5985 GB, free: 14.09 MB / 446.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.196e-05/0.4625, allocations: 15.92 kB / 0.5986 GB, free: 14.07 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.4626, allocations: 8 kB / 0.5986 GB, free: 14.07 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0003117/0.4629, allocations: 74.16 kB / 0.5986 GB, free: 13.99 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009959/0.4639, allocations: 263.6 kB / 0.5989 GB, free: 13.73 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002318/0.4662, allocations: 2.621 MB / 0.6015 GB, free: 10.88 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009524/0.4671, allocations: 158.8 kB / 0.6016 GB, free: 10.73 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.477e-05/0.4672, allocations: 55.97 kB / 0.6017 GB, free: 10.67 MB / 446.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 37
 * 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.0005037/0.4677, allocations: 273 kB / 0.6019 GB, free: 10.4 MB / 446.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001983/0.4679, allocations: 103.3 kB / 0.602 GB, free: 10.3 MB / 446.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002106/0.47, allocations: 1.091 MB / 0.6031 GB, free: 9.176 MB / 446.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.47, allocations: 15.94 kB / 0.6031 GB, free: 9.16 MB / 446.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.47, allocations: 0 / 0.6031 GB, free: 9.16 MB / 446.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.4701, allocations: 3.984 kB / 0.6031 GB, free: 9.156 MB / 446.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003921/0.474, allocations: 2.403 MB / 0.6054 GB, free: 6.617 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/0.474, allocations: 4 kB / 0.6054 GB, free: 6.613 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000735/0.4747, allocations: 179.8 kB / 0.6056 GB, free: 6.438 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0002328/0.475, allocations: 70.2 kB / 0.6057 GB, free: 6.363 MB / 446.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.948e-05/0.475, allocations: 28 kB / 0.6057 GB, free: 6.336 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002425/0.4774, allocations: 2.618 MB / 0.6083 GB, free: 3.488 MB / 446.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.095e-06/0.4774, allocations: 7.938 kB / 0.6083 GB, free: 3.48 MB / 446.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00242/0.4799, allocations: 1.489 MB / 0.6097 GB, free: 1.895 MB / 446.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.000272/0.4801, allocations: 123.3 kB / 0.6099 GB, free: 1.773 MB / 446.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.4803, allocations: 31.89 kB / 0.6099 GB, free: 1.742 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000621/0.4809, allocations: 47.97 kB / 0.6099 GB, free: 1.695 MB / 446.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/0.4811, allocations: 88.34 kB / 0.61 GB, free: 1.609 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.686e-05/0.4811, allocations: 35.98 kB / 0.61 GB, free: 1.574 MB / 446.1 MB
Notification: Performance of sorting global known variables: time 0.0008061/0.4819, allocations: 0.5771 MB / 0.6106 GB, free: 1 MB / 446.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.4819, allocations: 0 / 0.6106 GB, free: 1 MB / 446.1 MB
Notification: Performance of remove unused functions: time 0.001076/0.483, allocations: 311.6 kB / 0.6109 GB, free: 0.6953 MB / 446.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 (93):
 * Single equations (assignments): 91
 * 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.0003125/0.4833, allocations: 171 kB / 0.6111 GB, free: 0.5195 MB / 446.1 MB
Notification: Performance of simCode: created initialization part: time 0.00202/0.4853, allocations: 1.048 MB / 0.6121 GB, free: 15.45 MB / 462.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.4853, allocations: 0 / 0.6121 GB, free: 15.45 MB / 462.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0009852/0.4863, allocations: 0.6033 MB / 0.6127 GB, free: 14.81 MB / 462.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000746/0.4871, allocations: 119.7 kB / 0.6128 GB, free: 14.7 MB / 462.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003318/0.4904, allocations: 1.865 MB / 0.6146 GB, free: 12.72 MB / 462.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006331/0.491, allocations: 1.02 MB / 0.6156 GB, free: 11.68 MB / 462.1 MB
Notification: Performance of simCode: alias equations: time 0.0005296/0.4915, allocations: 147.8 kB / 0.6158 GB, free: 11.53 MB / 462.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002349/0.4918, allocations: 95.41 kB / 0.6158 GB, free: 11.44 MB / 462.1 MB
Notification: Performance of SimCode: time 9.72e-07/0.4918, allocations: 0 / 0.6158 GB, free: 11.44 MB / 462.1 MB
Notification: Performance of Templates: time 0.02194/0.5137, allocations: 11.62 MB / 0.6272 GB, free: 15.87 MB / 478.1 MB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 5.753678471781313]