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.001159/0.001159, allocations: 111.1 kB / 17.09 MB, free: 5.945 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.001135/0.001135, allocations: 199.4 kB / 18.02 MB, free: 5.031 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.493/1.493, allocations: 205.1 MB / 223.9 MB, free: 12.26 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.2232/0.2232, allocations: 43.52 MB / 314.8 MB, free: 448 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.001413/0.001413, allocations: 65.47 kB / 442.5 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1395, allocations: 57.79 MB / 0.4885 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.007978/0.1476, allocations: 6.912 MB / 0.4953 GB, free: 4.828 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005035/0.1527, allocations: 2.194 MB / 0.4974 GB, free: 2.625 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.1538, allocations: 27.94 kB / 0.4975 GB, free: 2.598 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003626/0.1575, allocations: 1.524 MB / 0.499 GB, free: 1.066 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002807/0.1603, allocations: 0.8587 MB / 0.4998 GB, free: 208 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001595/0.1619, allocations: 0.5881 MB / 0.5004 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001984/0.1639, allocations: 1.183 MB / 0.5015 GB, free: 14.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001473/0.1654, allocations: 0.812 MB / 0.5023 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000914/0.1663, allocations: 490 kB / 0.5028 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009231/0.1673, allocations: 0.6225 MB / 0.5034 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003143/0.1676, allocations: 100 kB / 0.5035 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001024/0.1686, allocations: 275.8 kB / 0.5038 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002964/0.1689, allocations: 255 kB / 0.504 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009513/0.1699, allocations: 0.5713 MB / 0.5046 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00286/0.1728, allocations: 1.471 MB / 0.506 GB, free: 9.816 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.1728, allocations: 0 / 0.506 GB, free: 9.816 MB / 398.1 MB Notification: Performance of FrontEnd: time 6.873e-06/0.1728, allocations: 4 kB / 0.506 GB, free: 9.812 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.835e-05/0.1729, allocations: 0 / 0.506 GB, free: 9.812 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.005454/0.1784, allocations: 1.705 MB / 0.5077 GB, free: 8.055 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.1784, allocations: 15.83 kB / 0.5077 GB, free: 8.039 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01042/0.1889, allocations: 1.428 MB / 0.5091 GB, free: 6.609 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/0.1903, allocations: 0.5482 MB / 0.5096 GB, free: 6.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.1905, allocations: 90.48 kB / 0.5097 GB, free: 5.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003773/0.1908, allocations: 124 kB / 0.5098 GB, free: 5.809 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0027/0.1936, allocations: 1.181 MB / 0.511 GB, free: 4.602 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.853e-05/0.1936, allocations: 11.92 kB / 0.511 GB, free: 4.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001425/0.1938, allocations: 48 kB / 0.511 GB, free: 4.543 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.576e-05/0.1938, allocations: 32 kB / 0.511 GB, free: 4.512 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0026/0.1964, allocations: 1.435 MB / 0.5125 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008453/0.2049, allocations: 4.808 MB / 0.5171 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002072/0.207, allocations: 1.202 MB / 0.5183 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006732/0.2077, allocations: 371.7 kB / 0.5187 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001327/0.2079, allocations: 102.1 kB / 0.5188 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.679e-05/0.2079, allocations: 47.56 kB / 0.5188 GB, free: 12.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 5.04e-06/0.208, allocations: 4 kB / 0.5188 GB, free: 12.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=91): time 0.002699/0.2107, allocations: 1.198 MB / 0.52 GB, free: 10.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.2107, allocations: 60.41 kB / 0.52 GB, free: 10.81 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/0.2119, allocations: 0.8051 MB / 0.5208 GB, free: 10 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.374e-05/0.212, allocations: 41.7 kB / 0.5209 GB, free: 9.953 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003726/0.2124, allocations: 482.7 kB / 0.5213 GB, free: 9.473 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002733/0.2127, allocations: 311.5 kB / 0.5216 GB, free: 9.164 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003131/0.213, allocations: 194.8 kB / 0.5218 GB, free: 8.969 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.2132, allocations: 398.7 kB / 0.5222 GB, free: 8.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006606/0.2139, allocations: 350.4 kB / 0.5225 GB, free: 8.227 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008317/0.2147, allocations: 0.6062 MB / 0.5231 GB, free: 7.508 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001467/0.2162, allocations: 0.9711 MB / 0.5241 GB, free: 6.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/0.2162, allocations: 0 / 0.5241 GB, free: 6.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002219/0.2184, allocations: 1.181 MB / 0.5252 GB, free: 5.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.2185, allocations: 8 kB / 0.5252 GB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/0.2185, allocations: 8 kB / 0.5252 GB, free: 5.215 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003402/0.2188, allocations: 66.22 kB / 0.5253 GB, free: 5.145 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/0.2199, allocations: 259.6 kB / 0.5256 GB, free: 4.891 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002445/0.2223, allocations: 2.832 MB / 0.5283 GB, free: 1.777 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/0.2234, allocations: 146.3 kB / 0.5285 GB, free: 1.633 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/0.2235, allocations: 47.98 kB / 0.5285 GB, free: 1.586 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.0004733/0.224, allocations: 261.5 kB / 0.5288 GB, free: 1.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002283/0.2242, allocations: 90.88 kB / 0.5288 GB, free: 1.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001962/0.2262, allocations: 1.107 MB / 0.5299 GB, free: 96 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.2262, allocations: 7.984 kB / 0.5299 GB, free: 88 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.2262, allocations: 0 / 0.5299 GB, free: 88 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.3151/0.5413, allocations: 189.6 kB / 0.5301 GB, free: 38.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000283/0.5417, allocations: 17.38 kB / 0.5301 GB, free: 38.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006438/0.5423, allocations: 45.31 kB / 0.5302 GB, free: 38.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/0.5425, allocations: 57.47 kB / 0.5302 GB, free: 38.73 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002013/0.5445, allocations: 0.909 MB / 0.5311 GB, free: 38.6 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002027/0.5465, allocations: 1.3 MB / 0.5324 GB, free: 38.35 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005789/0.5471, allocations: 328.8 kB / 0.5327 GB, free: 38.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008694/0.548, allocations: 0.5663 MB / 0.5332 GB, free: 38.25 MB / 414.1 MB Notification: Performance of Backend: time 8.31e-07/0.548, allocations: 0 / 0.5332 GB, free: 38.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002387/0.5504, allocations: 1.011 MB / 0.5342 GB, free: 37.95 MB / 414.1 MB Notification: Performance of SimCode: time 0.002529/0.553, allocations: 1.913 MB / 0.5361 GB, free: 36.86 MB / 414.1 MB Notification: Performance of Templates: time 0.03863/0.5916, allocations: 14.92 MB / 0.5507 GB, free: 33.45 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