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.001292/0.001292, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001286/0.001286, allocations: 194 kB / 18.77 MB, free: 4.742 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.343/1.343, allocations: 222.9 MB / 242.5 MB, free: 13.77 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.2058/0.2058, allocations: 44.17 MB / 336.8 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 65.12 kB / 408.4 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1056, allocations: 60.83 MB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.007988/0.1136, allocations: 6.88 MB / 476.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00391/0.1176, allocations: 2.195 MB / 478.3 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008797/0.1185, allocations: 27.94 kB / 478.3 MB, free: 5.676 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003434/0.122, allocations: 1.427 MB / 479.7 MB, free: 4.246 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002114/0.1241, allocations: 0.7759 MB / 480.5 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.1254, allocations: 0.5328 MB / 481 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001392/0.1268, allocations: 1.101 MB / 482.1 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001247/0.1281, allocations: 0.7477 MB / 482.9 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006027/0.1287, allocations: 442.2 kB / 483.3 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005015/0.1292, allocations: 0.5796 MB / 483.9 MB, free: 60 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.1294, allocations: 68.05 kB / 483.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005568/0.1299, allocations: 259.7 kB / 484.2 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001613/0.1301, allocations: 227 kB / 484.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004369/0.1305, allocations: 0.5245 MB / 484.9 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009979/0.1315, allocations: 1.118 MB / 486.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1316, allocations: 0 / 486.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.1316, allocations: 0 / 486.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.1316, allocations: 4 kB / 486.1 MB, free: 13.86 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.003792/0.1354, allocations: 1.678 MB / 487.7 MB, free: 12.13 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.1354, allocations: 11.97 kB / 487.8 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009678/0.1451, allocations: 1.319 MB / 489.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.1462, allocations: 0.5219 MB / 489.6 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.1463, allocations: 98.28 kB / 489.7 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002889/0.1466, allocations: 119.9 kB / 489.8 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002353/0.1489, allocations: 1.145 MB / 491 MB, free: 8.848 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.666e-05/0.149, allocations: 4 kB / 491 MB, free: 8.844 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/0.1491, allocations: 48 kB / 491 MB, free: 8.797 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.319e-05/0.1491, allocations: 28 kB / 491 MB, free: 8.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002343/0.1515, allocations: 1.372 MB / 492.4 MB, free: 7.391 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007348/0.1589, allocations: 4.681 MB / 497.1 MB, free: 2.418 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001749/0.1606, allocations: 0.9264 MB / 498 MB, free: 1.461 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005854/0.1612, allocations: 363.8 kB / 498.4 MB, free: 1.105 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001182/0.1614, allocations: 98.08 kB / 498.5 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.1614, allocations: 51.5 kB / 498.5 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of pre-optimization done (n=89): time 2.494e-06/0.1614, allocations: 4 kB / 498.5 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of matching and sorting (n=89): time 0.002276/0.1637, allocations: 1.179 MB / 499.7 MB, free: 15.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.93e-05/0.1638, allocations: 68.34 kB / 499.8 MB, free: 15.62 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009966/0.1648, allocations: 0.7816 MB / 0.4888 GB, free: 14.83 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.046e-05/0.1649, allocations: 41.7 kB / 0.4889 GB, free: 14.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003078/0.1652, allocations: 462.8 kB / 0.4893 GB, free: 14.33 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002471/0.1654, allocations: 303.6 kB / 0.4896 GB, free: 14.03 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003008/0.1658, allocations: 182.9 kB / 0.4898 GB, free: 13.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.166, allocations: 394.7 kB / 0.4901 GB, free: 13.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006414/0.1666, allocations: 334.5 kB / 0.4905 GB, free: 13.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008429/0.1675, allocations: 0.5661 MB / 0.491 GB, free: 12.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001483/0.1689, allocations: 0.9231 MB / 0.4919 GB, free: 11.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/0.169, allocations: 3.938 kB / 0.4919 GB, free: 11.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002255/0.1712, allocations: 1.127 MB / 0.493 GB, free: 10.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.351e-05/0.1713, allocations: 8 kB / 0.493 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-05/0.1713, allocations: 8 kB / 0.493 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003624/0.1717, allocations: 61.67 kB / 0.4931 GB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/0.1727, allocations: 247.6 kB / 0.4933 GB, free: 9.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002351/0.1751, allocations: 2.635 MB / 0.4959 GB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.1762, allocations: 150.3 kB / 0.496 GB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.1763, allocations: 40 kB / 0.4961 GB, free: 6.891 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.000536/0.1768, allocations: 253.6 kB / 0.4963 GB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002308/0.1771, allocations: 86.95 kB / 0.4964 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002109/0.1792, allocations: 1.099 MB / 0.4975 GB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.1792, allocations: 8 kB / 0.4975 GB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1792, allocations: 4 kB / 0.4975 GB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.1792, allocations: 7.922 kB / 0.4975 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003752/0.183, allocations: 2.695 MB / 0.5001 GB, free: 2.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.183, allocations: 7.938 kB / 0.5001 GB, free: 2.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007283/0.1838, allocations: 179.7 kB / 0.5003 GB, free: 2.285 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002577/0.184, allocations: 58.22 kB / 0.5004 GB, free: 2.223 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.95e-05/0.1841, allocations: 27.98 kB / 0.5004 GB, free: 2.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1749/0.359, allocations: 2.62 MB / 0.5029 GB, free: 46.63 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.053e-05/0.3591, allocations: 11.09 kB / 0.503 GB, free: 46.63 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002628/0.3617, allocations: 1.456 MB / 0.5044 GB, free: 46.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002636/0.362, allocations: 197.2 kB / 0.5046 GB, free: 46.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000174/0.3622, allocations: 26.73 kB / 0.5046 GB, free: 46.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007018/0.3629, allocations: 54.55 kB / 0.5046 GB, free: 46.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/0.3631, allocations: 73.05 kB / 0.5047 GB, free: 46.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.415e-05/0.3632, allocations: 35.67 kB / 0.5047 GB, free: 46.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007859/0.3639, allocations: 0.5567 MB / 0.5053 GB, free: 46.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.364, allocations: 0 / 0.5053 GB, free: 46.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001006/0.365, allocations: 289.2 kB / 0.5056 GB, free: 46.06 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.0002683/0.3652, allocations: 170.9 kB / 0.5057 GB, free: 45.97 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001798/0.367, allocations: 1.057 MB / 0.5068 GB, free: 45.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.3671, allocations: 0.9688 kB / 0.5068 GB, free: 45.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008799/0.368, allocations: 0.6173 MB / 0.5074 GB, free: 45.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008495/0.3688, allocations: 120.5 kB / 0.5075 GB, free: 45.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002937/0.3718, allocations: 2.208 MB / 0.5096 GB, free: 43.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004865/0.3723, allocations: 0.9953 MB / 0.5106 GB, free: 43.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003409/0.3726, allocations: 88.84 kB / 0.5107 GB, free: 43.04 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3726, allocations: 3.938 kB / 0.5107 GB, free: 43.04 MB / 382.1 MB Notification: Performance of Templates: time 0.02174/0.3944, allocations: 19.84 MB / 0.5301 GB, free: 34.19 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