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.001168/0.001168, allocations: 98.42 kB / 16.98 MB, free: 5.938 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.001175/0.001175, allocations: 187.6 kB / 17.88 MB, free: 5.594 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.498/1.498, allocations: 223.2 MB / 241.8 MB, free: 392 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2311/0.2311, allocations: 44.23 MB / 337.1 MB, free: 2.918 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003034/0.0003034, allocations: 11.98 kB / 409.5 MB, free: 27.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1318, allocations: 61.92 MB / 471.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.005725/0.1376, allocations: 5.543 MB / 477 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003608/0.1412, allocations: 2.071 MB / 479.1 MB, free: 6.129 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003868/0.1416, allocations: 27.94 kB / 479.1 MB, free: 6.102 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005487/0.1422, allocations: 234.5 kB / 479.3 MB, free: 5.871 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001655/0.1439, allocations: 0.7747 MB / 480.1 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.1449, allocations: 490.2 kB / 480.6 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001008/0.1459, allocations: 0.7917 MB / 481.4 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002065/0.148, allocations: 1.241 MB / 482.6 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005115/0.1485, allocations: 398.4 kB / 483 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004784/0.149, allocations: 0.4979 MB / 483.5 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.668e-05/0.1491, allocations: 48 kB / 483.5 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000498/0.1496, allocations: 191.8 kB / 483.7 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001475/0.1497, allocations: 191.2 kB / 483.9 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001673/0.1499, allocations: 209.1 kB / 484.1 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.151, allocations: 1.079 MB / 485.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.151, allocations: 0 / 485.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.151, allocations: 0 / 485.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.151, allocations: 0 / 485.2 MB, free: 15.95 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.003691/0.1547, allocations: 1.479 MB / 486.7 MB, free: 14.42 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/0.1548, allocations: 8.031 kB / 486.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009293/0.1641, allocations: 1.337 MB / 488 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.1652, allocations: 0.5129 MB / 488.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.093e-05/0.1653, allocations: 94.36 kB / 488.6 MB, free: 12.42 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001732/0.1655, allocations: 119.9 kB / 488.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002096/0.1676, allocations: 1.129 MB / 489.9 MB, free: 11.15 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.524e-05/0.1677, allocations: 7.906 kB / 489.9 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.1678, allocations: 52 kB / 489.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.588e-05/0.1678, allocations: 28 kB / 490 MB, free: 11.06 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/0.17, allocations: 1.368 MB / 491.3 MB, free: 9.688 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007273/0.1773, allocations: 4.697 MB / 496 MB, free: 4.699 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/0.179, allocations: 0.9303 MB / 497 MB, free: 3.734 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001025/0.1791, allocations: 102.1 kB / 497.1 MB, free: 3.617 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.73e-05/0.1791, allocations: 43.56 kB / 497.1 MB, free: 3.566 MB / 366.1 MB Notification: Performance of pre-optimization done (n=89): time 4.458e-06/0.1791, allocations: 0 / 497.1 MB, free: 3.566 MB / 366.1 MB Notification: Performance of matching and sorting (n=89): time 0.0022/0.1813, allocations: 1.204 MB / 498.3 MB, free: 2.316 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.1814, allocations: 60.41 kB / 498.4 MB, free: 2.242 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009152/0.1823, allocations: 0.7777 MB / 499.1 MB, free: 1.457 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.053e-05/0.1824, allocations: 41.7 kB / 499.2 MB, free: 1.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003044/0.1827, allocations: 462.9 kB / 499.6 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002195/0.1829, allocations: 311.5 kB / 499.9 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-05/0.183, allocations: 23.94 kB / 500 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001952/0.1832, allocations: 398.7 kB / 0.4886 GB, free: 224 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005838/0.1838, allocations: 338.5 kB / 0.4889 GB, free: 15.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006812/0.1845, allocations: 0.5583 MB / 0.4895 GB, free: 15.24 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006647/0.1852, allocations: 410.9 kB / 0.4899 GB, free: 14.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.1852, allocations: 4 kB / 0.4899 GB, free: 14.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001852/0.187, allocations: 1.123 MB / 0.491 GB, free: 13.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.1871, allocations: 8 kB / 0.491 GB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.1871, allocations: 8 kB / 0.491 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003013/0.1874, allocations: 73.89 kB / 0.4911 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009273/0.1883, allocations: 251.6 kB / 0.4913 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001913/0.1903, allocations: 2.639 MB / 0.4939 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008494/0.1911, allocations: 146.3 kB / 0.494 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.331e-05/0.1912, allocations: 44 kB / 0.4941 GB, free: 10.27 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004677/0.1917, allocations: 245.7 kB / 0.4943 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.1918, allocations: 98.86 kB / 0.4944 GB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001732/0.1936, allocations: 1.106 MB / 0.4955 GB, free: 8.777 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.1936, allocations: 8 kB / 0.4955 GB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/0.1936, allocations: 0 / 0.4955 GB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.1936, allocations: 3.984 kB / 0.4955 GB, free: 8.766 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003334/0.1969, allocations: 2.703 MB / 0.4981 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.197, allocations: 8 kB / 0.4981 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006754/0.1976, allocations: 180.5 kB / 0.4983 GB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001977/0.1979, allocations: 57.69 kB / 0.4984 GB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-05/0.1979, allocations: 27.98 kB / 0.4984 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001738/0.1997, allocations: 2.631 MB / 0.501 GB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/0.1997, allocations: 15.89 kB / 0.501 GB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002176/0.2019, allocations: 1.755 MB / 0.5027 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002675/0.2021, allocations: 215.7 kB / 0.5029 GB, free: 416 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.2023, allocations: 24 kB / 0.5029 GB, free: 392 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000599/0.2029, allocations: 56.03 kB / 0.503 GB, free: 336 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.203, allocations: 84.36 kB / 0.503 GB, free: 252 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-05/0.2031, allocations: 28 kB / 0.5031 GB, free: 224 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.2893/0.4923, allocations: 0.5437 MB / 0.5036 GB, free: 46.35 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.883e-06/0.4924, allocations: 3.062 kB / 0.5036 GB, free: 46.35 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002105/0.4945, allocations: 292.8 kB / 0.5039 GB, free: 46.35 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003945/0.4949, allocations: 163.7 kB / 0.504 GB, free: 46.26 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002357/0.4973, allocations: 1.069 MB / 0.5051 GB, free: 46.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.4973, allocations: 2.125 kB / 0.5051 GB, free: 46.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009686/0.4983, allocations: 0.6158 MB / 0.5057 GB, free: 45.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007621/0.499, allocations: 102.1 kB / 0.5058 GB, free: 45.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003927/0.503, allocations: 2.096 MB / 0.5078 GB, free: 44.69 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007733/0.5038, allocations: 1.012 MB / 0.5088 GB, free: 43.97 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008449/0.5046, allocations: 150.2 kB / 0.509 GB, free: 43.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002811/0.5049, allocations: 77.33 kB / 0.509 GB, free: 43.92 MB / 382.1 MB Notification: Performance of SimCode: time 1.583e-06/0.5049, allocations: 0 / 0.509 GB, free: 43.92 MB / 382.1 MB Notification: Performance of Templates: time 0.02352/0.5284, allocations: 9.418 MB / 0.5182 GB, free: 42.2 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches