Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001367/0.001367, allocations: 116.8 kB / 18.5 MB, free: 4.566 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.001271/0.001271, allocations: 189.2 kB / 21.44 MB, free: 1.633 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.452/1.452, allocations: 225.6 MB / 249.8 MB, free: 3.633 MB / 190.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.2533/0.2533, allocations: 44.92 MB / 349.6 MB, free: 1.754 MB / 270.1 MB
"
[Timeout remaining time 180]
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: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"})
"" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 63.25 kB / 491.8 MB, free: 30.29 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1331, allocations: 64.26 MB / 0.543 GB, free: 4.129 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009757/0.1428, allocations: 6.972 MB / 0.5498 GB, free: 13.12 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.005246/0.1481, allocations: 2.218 MB / 0.552 GB, free: 10.89 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.00096/0.1491, allocations: 20 kB / 0.552 GB, free: 10.88 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.003934/0.153, allocations: 1.528 MB / 0.5535 GB, free: 9.344 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.002697/0.1557, allocations: 0.838 MB / 0.5543 GB, free: 8.504 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.1572, allocations: 0.5801 MB / 0.5549 GB, free: 7.926 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001677/0.1589, allocations: 1.148 MB / 0.556 GB, free: 6.77 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001124/0.16, allocations: 0.6168 MB / 0.5566 GB, free: 6.129 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0006905/0.1607, allocations: 482.1 kB / 0.5571 GB, free: 5.656 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006902/0.1614, allocations: 0.603 MB / 0.5576 GB, free: 5.051 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001395/0.1615, allocations: 92 kB / 0.5577 GB, free: 4.961 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0007086/0.1622, allocations: 275.8 kB / 0.558 GB, free: 4.691 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002212/0.1625, allocations: 251 kB / 0.5582 GB, free: 4.445 MB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0005987/0.1631, allocations: 0.5596 MB / 0.5588 GB, free: 3.883 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001898/0.165, allocations: 1.463 MB / 0.5602 GB, free: 2.414 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.165, allocations: 0 / 0.5602 GB, free: 2.414 MB / 414.1 MB
Notification: Performance of FrontEnd: time 1.914e-06/0.165, allocations: 4 kB / 0.5602 GB, free: 2.41 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 1.38e-05/0.165, allocations: 0 / 0.5602 GB, free: 2.41 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: 306
 * Number of variables: 306
Notification: Performance of Generate backend data structure: time 0.004308/0.1693, allocations: 1.711 MB / 0.5619 GB, free: 0.6445 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.1693, allocations: 8.031 kB / 0.5619 GB, free: 0.6367 MB / 414.1 MB
Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002484/0.1696, allocations: 177.8 kB / 0.5621 GB, free: 464 kB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009557/0.1791, allocations: 1.323 MB / 0.5634 GB, free: 15.13 MB / 430.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001418/0.1806, allocations: 0.5411 MB / 0.5639 GB, free: 14.54 MB / 430.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.859e-05/0.1806, allocations: 90.41 kB / 0.564 GB, free: 14.45 MB / 430.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002097/0.1809, allocations: 123.9 kB / 0.5641 GB, free: 14.33 MB / 430.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002364/0.1832, allocations: 1.141 MB / 0.5652 GB, free: 13.16 MB / 430.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 4.151e-05/0.1833, allocations: 4 kB / 0.5652 GB, free: 13.16 MB / 430.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001251/0.1834, allocations: 56 kB / 0.5653 GB, free: 13.11 MB / 430.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.935e-05/0.1834, allocations: 28 kB / 0.5653 GB, free: 13.08 MB / 430.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00248/0.1859, allocations: 1.368 MB / 0.5666 GB, free: 11.7 MB / 430.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008016/0.1939, allocations: 4.658 MB / 0.5712 GB, free: 6.754 MB / 430.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001779/0.1957, allocations: 0.86 MB / 0.572 GB, free: 5.867 MB / 430.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000586/0.1963, allocations: 335.6 kB / 0.5723 GB, free: 5.535 MB / 430.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001205/0.1964, allocations: 102.1 kB / 0.5724 GB, free: 5.418 MB / 430.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.674e-05/0.1964, allocations: 47.5 kB / 0.5725 GB, free: 5.363 MB / 430.1 MB
Notification: Performance of pre-optimization done (n=89): time 3.287e-06/0.1964, allocations: 4 kB / 0.5725 GB, free: 5.359 MB / 430.1 MB
Notification: Performance of matching and sorting (n=89): time 0.002474/0.1989, allocations: 1.195 MB / 0.5736 GB, free: 4.117 MB / 430.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.488e-05/0.199, allocations: 68.34 kB / 0.5737 GB, free: 4.039 MB / 430.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/0.2001, allocations: 0.7778 MB / 0.5745 GB, free: 3.254 MB / 430.1 MB
Notification: Performance of collectPreVariables (initialization): time 6.62e-05/0.2001, allocations: 41.7 kB / 0.5745 GB, free: 3.207 MB / 430.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.000389/0.2005, allocations: 468.2 kB / 0.575 GB, free: 2.742 MB / 430.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0003042/0.2008, allocations: 321.3 kB / 0.5753 GB, free: 2.426 MB / 430.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003138/0.2011, allocations: 190.9 kB / 0.5754 GB, free: 2.234 MB / 430.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002348/0.2014, allocations: 394.7 kB / 0.5758 GB, free: 1.84 MB / 430.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006396/0.202, allocations: 338.5 kB / 0.5761 GB, free: 1.508 MB / 430.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008601/0.2029, allocations: 0.5622 MB / 0.5767 GB, free: 0.8555 MB / 430.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001499/0.2044, allocations: 0.9193 MB / 0.5776 GB, free: 15.84 MB / 446.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/0.2044, allocations: 0 / 0.5776 GB, free: 15.84 MB / 446.1 MB
Notification: Performance of matching and sorting (n=135) (initialization): time 0.002273/0.2066, allocations: 1.128 MB / 0.5787 GB, free: 14.7 MB / 446.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.644e-05/0.2067, allocations: 8 kB / 0.5787 GB, free: 14.69 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.302e-05/0.2067, allocations: 12 kB / 0.5787 GB, free: 14.68 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0003828/0.2071, allocations: 61.67 kB / 0.5788 GB, free: 14.61 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.2081, allocations: 247.6 kB / 0.579 GB, free: 14.37 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003143/0.2113, allocations: 2.828 MB / 0.5818 GB, free: 11.26 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/0.2124, allocations: 158.7 kB / 0.5819 GB, free: 11.11 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.514e-05/0.2125, allocations: 43.98 kB / 0.582 GB, free: 11.06 MB / 446.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 30
 * 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 (133):
 * Single equations (assignments): 131
 * 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.0005475/0.213, allocations: 241.5 kB / 0.5822 GB, free: 10.82 MB / 446.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001679/0.2132, allocations: 91.44 kB / 0.5823 GB, free: 10.73 MB / 446.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002038/0.2152, allocations: 1.099 MB / 0.5833 GB, free: 9.602 MB / 446.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.2152, allocations: 8 kB / 0.5834 GB, free: 9.594 MB / 446.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.2152, allocations: 0 / 0.5834 GB, free: 9.594 MB / 446.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.2153, allocations: 7.984 kB / 0.5834 GB, free: 9.586 MB / 446.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004314/0.2196, allocations: 2.697 MB / 0.586 GB, free: 6.656 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/0.2196, allocations: 8 kB / 0.586 GB, free: 6.648 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007585/0.2203, allocations: 179.7 kB / 0.5862 GB, free: 6.473 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0002287/0.2206, allocations: 65.98 kB / 0.5862 GB, free: 6.402 MB / 446.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-05/0.2206, allocations: 28 kB / 0.5863 GB, free: 6.375 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002485/0.2231, allocations: 2.82 MB / 0.589 GB, free: 3.273 MB / 446.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.368e-06/0.2231, allocations: 15.88 kB / 0.589 GB, free: 3.258 MB / 446.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002476/0.2256, allocations: 1.461 MB / 0.5905 GB, free: 1.695 MB / 446.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003137/0.2259, allocations: 200.3 kB / 0.5907 GB, free: 1.48 MB / 446.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.2261, allocations: 24 kB / 0.5907 GB, free: 1.457 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006265/0.2267, allocations: 52.03 kB / 0.5907 GB, free: 1.406 MB / 446.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000177/0.2269, allocations: 88.28 kB / 0.5908 GB, free: 1.316 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.546e-05/0.2269, allocations: 28 kB / 0.5908 GB, free: 1.289 MB / 446.1 MB
Notification: Performance of sorting global known variables: time 0.0007709/0.2277, allocations: 0.5537 MB / 0.5914 GB, free: 0.7383 MB / 446.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.2277, allocations: 0 / 0.5914 GB, free: 0.7383 MB / 446.1 MB
Notification: Performance of remove unused functions: time 0.0009515/0.2286, allocations: 287.6 kB / 0.5917 GB, free: 468 kB / 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 (92):
 * Single equations (assignments): 90
 * 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.002906/0.2315, allocations: 2.071 MB / 0.5937 GB, free: 14.29 MB / 462.1 MB
Notification: Performance of simCode: created initialization part: time 0.001965/0.2335, allocations: 1.019 MB / 0.5947 GB, free: 13.24 MB / 462.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.2335, allocations: 0 / 0.5947 GB, free: 13.24 MB / 462.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0009903/0.2345, allocations: 0.5906 MB / 0.5952 GB, free: 12.62 MB / 462.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008291/0.2353, allocations: 127.9 kB / 0.5954 GB, free: 12.5 MB / 462.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01268/0.248, allocations: 8.085 MB / 0.6033 GB, free: 3.945 MB / 462.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007304/0.2487, allocations: 0.9883 MB / 0.6042 GB, free: 2.926 MB / 462.1 MB
Notification: Performance of simCode: alias equations: time 0.0006352/0.2494, allocations: 151.4 kB / 0.6044 GB, free: 2.773 MB / 462.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005413/0.2499, allocations: 351.3 kB / 0.6047 GB, free: 2.43 MB / 462.1 MB
Notification: Performance of SimCode: time 1.303e-06/0.2499, allocations: 0 / 0.6047 GB, free: 2.43 MB / 462.1 MB
Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3625/0.6125, allocations: 18.98 MB / 0.6232 GB, free: 56.61 MB / 462.1 MB
Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.27, allocations: 1 kB / 0.6232 GB, free: 56.61 MB / 462.1 MB
"
[Timeout remaining time 648]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 52.5]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 15.553329362999648]