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) 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_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.001099/0.001099, allocations: 101.6 kB / 18.01 MB, free: 5.73 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.001318/0.001318, allocations: 176.2 kB / 18.91 MB, free: 4.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 223.3 MB / 242.9 MB, free: 14.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1885/0.1885, allocations: 44.24 MB / 338.3 MB, free: 2.434 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003301/0.0003302, allocations: 8 kB / 411 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1134, allocations: 61.91 MB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.007129/0.1206, allocations: 6.373 MB / 479.3 MB, free: 6.926 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004012/0.1246, allocations: 2.167 MB / 481.5 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009228/0.1256, allocations: 20 kB / 481.5 MB, free: 4.734 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009545/0.1265, allocations: 318.6 kB / 481.8 MB, free: 4.422 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002464/0.129, allocations: 0.7579 MB / 482.5 MB, free: 3.664 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001442/0.1305, allocations: 0.5464 MB / 483.1 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001611/0.1321, allocations: 1.101 MB / 484.2 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002651/0.1348, allocations: 1.425 MB / 485.6 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007041/0.1355, allocations: 414.1 kB / 486 MB, free: 152 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007525/0.1362, allocations: 0.5327 MB / 486.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001557/0.1364, allocations: 44 kB / 486.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007586/0.1372, allocations: 239.7 kB / 486.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001682/0.1374, allocations: 187.1 kB / 487 MB, free: 15.15 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005294/0.1379, allocations: 0.5261 MB / 487.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001114/0.139, allocations: 1.087 MB / 488.6 MB, free: 13.53 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.139, allocations: 3.938 kB / 488.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.139, allocations: 0 / 488.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.133e-05/0.1391, allocations: 0 / 488.6 MB, free: 13.52 MB / 366.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.004162/0.1432, allocations: 1.46 MB / 490.1 MB, free: 12.01 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.1433, allocations: 15.97 kB / 490.1 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009673/0.153, allocations: 1.334 MB / 491.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009239/0.1539, allocations: 0.5218 MB / 492 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.102e-05/0.154, allocations: 94.34 kB / 492 MB, free: 10 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002341/0.1543, allocations: 124 kB / 492.2 MB, free: 9.879 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002185/0.1564, allocations: 1.141 MB / 493.3 MB, free: 8.711 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.919e-05/0.1565, allocations: 7.906 kB / 493.3 MB, free: 8.703 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/0.1566, allocations: 48 kB / 493.4 MB, free: 8.656 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.517e-05/0.1567, allocations: 35.98 kB / 493.4 MB, free: 8.621 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002362/0.159, allocations: 1.384 MB / 494.8 MB, free: 7.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00728/0.1663, allocations: 4.701 MB / 499.5 MB, free: 2.238 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001744/0.1681, allocations: 0.9325 MB / 0.4887 GB, free: 1.277 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006028/0.1687, allocations: 374.3 kB / 0.489 GB, free: 0.9141 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000115/0.1688, allocations: 102.1 kB / 0.4891 GB, free: 0.7969 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.1689, allocations: 43.56 kB / 0.4892 GB, free: 0.7461 MB / 366.1 MB Notification: Performance of pre-optimization done (n=89): time 2.585e-06/0.1689, allocations: 7.938 kB / 0.4892 GB, free: 0.7383 MB / 366.1 MB Notification: Performance of matching and sorting (n=89): time 0.002227/0.1711, allocations: 1.206 MB / 0.4904 GB, free: 15.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.1712, allocations: 60.41 kB / 0.4904 GB, free: 15.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009563/0.1721, allocations: 0.7854 MB / 0.4912 GB, free: 14.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.621e-05/0.1722, allocations: 41.7 kB / 0.4912 GB, free: 14.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003101/0.1725, allocations: 455 kB / 0.4917 GB, free: 14.12 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002328/0.1727, allocations: 307.6 kB / 0.492 GB, free: 13.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.1729, allocations: 89.67 kB / 0.492 GB, free: 13.72 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.1731, allocations: 394.7 kB / 0.4924 GB, free: 13.33 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006398/0.1737, allocations: 342.5 kB / 0.4928 GB, free: 13 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007812/0.1745, allocations: 0.57 MB / 0.4933 GB, free: 12.33 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001385/0.1759, allocations: 0.9309 MB / 0.4942 GB, free: 11.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.1759, allocations: 3.938 kB / 0.4942 GB, free: 11.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002026/0.1779, allocations: 1.139 MB / 0.4953 GB, free: 10.15 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.178, allocations: 8 kB / 0.4953 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.178, allocations: 8 kB / 0.4953 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002805/0.1783, allocations: 69.86 kB / 0.4954 GB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000946/0.1792, allocations: 243.6 kB / 0.4956 GB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00204/0.1813, allocations: 2.627 MB / 0.4982 GB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008304/0.1821, allocations: 150.3 kB / 0.4984 GB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.441e-05/0.1822, allocations: 55.91 kB / 0.4984 GB, free: 6.73 MB / 382.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.0003617/0.1826, allocations: 241.5 kB / 0.4986 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/0.1827, allocations: 91.06 kB / 0.4987 GB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001863/0.1846, allocations: 1.099 MB / 0.4998 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.1846, allocations: 8 kB / 0.4998 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.1846, allocations: 4 kB / 0.4998 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.1847, allocations: 11.91 kB / 0.4998 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003625/0.1883, allocations: 2.703 MB / 0.5025 GB, free: 2.301 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/0.1883, allocations: 8 kB / 0.5025 GB, free: 2.293 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000719/0.189, allocations: 180.5 kB / 0.5026 GB, free: 2.117 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002031/0.1893, allocations: 65.67 kB / 0.5027 GB, free: 2.047 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.638e-05/0.1893, allocations: 24 kB / 0.5027 GB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1923/0.3816, allocations: 2.618 MB / 0.5053 GB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.798e-06/0.3817, allocations: 10.34 kB / 0.5053 GB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00247/0.3841, allocations: 1.474 MB / 0.5067 GB, free: 35.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003047/0.3845, allocations: 213.4 kB / 0.5069 GB, free: 35.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/0.3846, allocations: 32 kB / 0.507 GB, free: 35.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007002/0.3853, allocations: 58.09 kB / 0.507 GB, free: 35.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/0.3855, allocations: 83.31 kB / 0.5071 GB, free: 35.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.451e-05/0.3856, allocations: 33.38 kB / 0.5071 GB, free: 35.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007733/0.3863, allocations: 0.5526 MB / 0.5077 GB, free: 35.37 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3863, allocations: 3.5 kB / 0.5077 GB, free: 35.37 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009372/0.3873, allocations: 285.3 kB / 0.5079 GB, free: 35.36 MB / 382.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.0002509/0.3875, allocations: 169.3 kB / 0.5081 GB, free: 35.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001744/0.3893, allocations: 1.062 MB / 0.5091 GB, free: 35.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.3893, allocations: 1 kB / 0.5091 GB, free: 35.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008358/0.3902, allocations: 0.6252 MB / 0.5098 GB, free: 34.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.3914, allocations: 123.4 kB / 0.5099 GB, free: 34.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002947/0.3944, allocations: 2.255 MB / 0.5121 GB, free: 33.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004657/0.3949, allocations: 0.9925 MB / 0.513 GB, free: 32.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003184/0.3952, allocations: 86.69 kB / 0.5131 GB, free: 32.82 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3952, allocations: 2.719 kB / 0.5131 GB, free: 32.82 MB / 382.1 MB Notification: Performance of Templates: time 0.0226/0.4178, allocations: 19.73 MB / 0.5324 GB, free: 25.25 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches