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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 113.2 kB / 17.09 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 194.9 kB / 18.02 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.361/1.361, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2053/0.2053, allocations: 43.52 MB / 314.8 MB, free: 456 kB / 254.1 MB 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.001387/0.001387, allocations: 65.94 kB / 442.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1052, allocations: 57.79 MB / 0.4885 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.007904/0.1131, allocations: 6.916 MB / 0.4953 GB, free: 4.836 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005133/0.1183, allocations: 2.202 MB / 0.4975 GB, free: 2.625 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008714/0.1192, allocations: 20 kB / 0.4975 GB, free: 2.605 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003564/0.1228, allocations: 1.528 MB / 0.499 GB, free: 1.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00232/0.1252, allocations: 0.847 MB / 0.4998 GB, free: 224 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.1265, allocations: 0.588 MB / 0.5004 GB, free: 15.63 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001188/0.1277, allocations: 1.186 MB / 0.5015 GB, free: 14.44 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/0.1287, allocations: 0.8159 MB / 0.5023 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005052/0.1292, allocations: 486.1 kB / 0.5028 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005959/0.1299, allocations: 0.6185 MB / 0.5034 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001211/0.13, allocations: 96 kB / 0.5035 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005574/0.1306, allocations: 279.8 kB / 0.5037 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001669/0.1307, allocations: 259 kB / 0.504 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004323/0.1312, allocations: 0.5712 MB / 0.5046 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001352/0.1325, allocations: 1.475 MB / 0.506 GB, free: 9.824 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.1325, allocations: 0 / 0.506 GB, free: 9.824 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1326, allocations: 4 kB / 0.506 GB, free: 9.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.1326, allocations: 0 / 0.506 GB, free: 9.82 MB / 398.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.003776/0.1364, allocations: 1.698 MB / 0.5077 GB, free: 8.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.1364, allocations: 15.89 kB / 0.5077 GB, free: 8.055 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01009/0.1465, allocations: 1.428 MB / 0.5091 GB, free: 6.625 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009177/0.1474, allocations: 0.556 MB / 0.5096 GB, free: 6.027 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.16e-05/0.1475, allocations: 94.48 kB / 0.5097 GB, free: 5.934 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001822/0.1477, allocations: 120 kB / 0.5098 GB, free: 5.816 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001968/0.1497, allocations: 1.185 MB / 0.511 GB, free: 4.605 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.289e-05/0.1497, allocations: 0 / 0.511 GB, free: 4.605 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001171/0.1498, allocations: 52 kB / 0.511 GB, free: 4.555 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/0.1499, allocations: 28 kB / 0.511 GB, free: 4.527 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002157/0.152, allocations: 1.435 MB / 0.5124 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006774/0.1588, allocations: 4.807 MB / 0.5171 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001833/0.1607, allocations: 1.198 MB / 0.5183 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00055/0.1612, allocations: 371.7 kB / 0.5187 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001198/0.1614, allocations: 110.1 kB / 0.5188 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.1614, allocations: 39.56 kB / 0.5188 GB, free: 12.15 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 2.825e-06/0.1614, allocations: 0 / 0.5188 GB, free: 12.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=91): time 0.002102/0.1635, allocations: 1.202 MB / 0.52 GB, free: 10.9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.1636, allocations: 64.41 kB / 0.52 GB, free: 10.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008481/0.1644, allocations: 0.7895 MB / 0.5208 GB, free: 10.03 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.569e-05/0.1645, allocations: 41.7 kB / 0.5209 GB, free: 9.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003577/0.1649, allocations: 486.7 kB / 0.5213 GB, free: 9.496 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002219/0.1651, allocations: 315.5 kB / 0.5216 GB, free: 9.184 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002841/0.1654, allocations: 198.8 kB / 0.5218 GB, free: 8.984 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.1656, allocations: 398.7 kB / 0.5222 GB, free: 8.586 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00057/0.1661, allocations: 338.5 kB / 0.5225 GB, free: 8.254 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007613/0.1669, allocations: 0.6062 MB / 0.5231 GB, free: 7.535 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/0.1682, allocations: 0.9788 MB / 0.5241 GB, free: 6.449 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.136e-06/0.1683, allocations: 8 kB / 0.5241 GB, free: 6.441 MB / 414.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001979/0.1702, allocations: 1.166 MB / 0.5252 GB, free: 5.258 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.1703, allocations: 18.72 kB / 0.5252 GB, free: 5.242 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.1703, allocations: 8 kB / 0.5252 GB, free: 5.234 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002922/0.1706, allocations: 65.61 kB / 0.5253 GB, free: 5.164 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.1716, allocations: 263.6 kB / 0.5255 GB, free: 4.906 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002211/0.1738, allocations: 2.82 MB / 0.5283 GB, free: 1.805 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007756/0.1746, allocations: 154.5 kB / 0.5284 GB, free: 1.652 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.245e-05/0.1747, allocations: 55.91 kB / 0.5285 GB, free: 1.598 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.000393/0.1751, allocations: 261.3 kB / 0.5287 GB, free: 1.332 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.1753, allocations: 90.88 kB / 0.5288 GB, free: 1.242 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001872/0.1771, allocations: 1.103 MB / 0.5299 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.1772, allocations: 7.922 kB / 0.5299 GB, free: 104 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.1772, allocations: 0 / 0.5299 GB, free: 104 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2191/0.3963, allocations: 189.9 kB / 0.5301 GB, free: 38.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002788/0.3966, allocations: 20.81 kB / 0.5301 GB, free: 38.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006029/0.3973, allocations: 46.94 kB / 0.5302 GB, free: 38.69 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/0.3974, allocations: 56.98 kB / 0.5302 GB, free: 38.69 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001856/0.3993, allocations: 0.901 MB / 0.5311 GB, free: 38.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001844/0.4011, allocations: 1.31 MB / 0.5324 GB, free: 38.31 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005/0.4017, allocations: 329.9 kB / 0.5327 GB, free: 38.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007326/0.4024, allocations: 0.5608 MB / 0.5332 GB, free: 38.21 MB / 414.1 MB Notification: Performance of Backend: time 6.01e-07/0.4024, allocations: 2.281 kB / 0.5332 GB, free: 38.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002061/0.4045, allocations: 1.002 MB / 0.5342 GB, free: 37.91 MB / 414.1 MB Notification: Performance of SimCode: time 0.002163/0.4067, allocations: 1.921 MB / 0.5361 GB, free: 36.82 MB / 414.1 MB Notification: Performance of Templates: time 0.02386/0.4305, allocations: 15.33 MB / 0.5511 GB, free: 33.11 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile (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) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches