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.001252/0.001252, allocations: 96.98 kB / 16.93 MB, free: 6.188 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.001239/0.001239, allocations: 191.6 kB / 17.86 MB, free: 5.289 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.494/1.494, allocations: 205.1 MB / 223.7 MB, free: 12.28 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.2106/0.2106, allocations: 43.52 MB / 314.6 MB, free: 0.5312 MB / 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.00151/0.00151, allocations: 78.52 kB / 383.4 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1105, allocations: 57.79 MB / 441.2 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.006179/0.1167, allocations: 6.913 MB / 448.1 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004624/0.1213, allocations: 2.19 MB / 450.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004428/0.1218, allocations: 27.94 kB / 450.3 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003216/0.1251, allocations: 1.517 MB / 451.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002009/0.1271, allocations: 0.8616 MB / 452.7 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001262/0.1284, allocations: 0.5801 MB / 453.3 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001252/0.1296, allocations: 1.175 MB / 454.5 MB, free: 9.578 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001198/0.1308, allocations: 0.8119 MB / 455.3 MB, free: 8.746 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006335/0.1315, allocations: 490.1 kB / 455.7 MB, free: 8.266 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006619/0.1321, allocations: 0.6224 MB / 456.4 MB, free: 7.641 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001428/0.1323, allocations: 96 kB / 456.5 MB, free: 7.547 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006594/0.133, allocations: 279.8 kB / 456.7 MB, free: 7.273 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001949/0.1332, allocations: 259 kB / 457 MB, free: 7.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005167/0.1337, allocations: 0.5674 MB / 457.6 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001517/0.1352, allocations: 1.452 MB / 459 MB, free: 4.992 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1352, allocations: 0 / 459 MB, free: 4.992 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.11e-07/0.1352, allocations: 0 / 459 MB, free: 4.992 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.1353, allocations: 0 / 459 MB, free: 4.992 MB / 334.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.003917/0.1392, allocations: 1.717 MB / 460.7 MB, free: 3.223 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.1392, allocations: 11.89 kB / 460.7 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01019/0.1494, allocations: 1.424 MB / 462.2 MB, free: 1.785 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009165/0.1504, allocations: 0.5406 MB / 462.7 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.322e-05/0.1504, allocations: 94.48 kB / 462.8 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001888/0.1506, allocations: 120 kB / 462.9 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002021/0.1527, allocations: 1.185 MB / 464.1 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.92e-05/0.1527, allocations: 11.91 kB / 464.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/0.1528, allocations: 48 kB / 464.2 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.761e-05/0.1529, allocations: 35.98 kB / 464.2 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002438/0.1553, allocations: 1.439 MB / 465.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007298/0.1626, allocations: 4.831 MB / 470.5 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001891/0.1646, allocations: 1.2 MB / 471.7 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005692/0.1651, allocations: 371.7 kB / 472 MB, free: 7.465 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001118/0.1653, allocations: 102.1 kB / 472.1 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.1653, allocations: 47.5 kB / 472.2 MB, free: 7.293 MB / 350.1 MB Notification: Performance of pre-optimization done (n=91): time 3.286e-06/0.1653, allocations: 0 / 472.2 MB, free: 7.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=91): time 0.002218/0.1675, allocations: 1.195 MB / 473.4 MB, free: 6.047 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.1676, allocations: 76.22 kB / 473.4 MB, free: 5.961 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009257/0.1685, allocations: 0.7934 MB / 474.2 MB, free: 5.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.282e-05/0.1686, allocations: 41.7 kB / 474.3 MB, free: 5.113 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003192/0.1689, allocations: 486.7 kB / 474.7 MB, free: 4.629 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002264/0.1692, allocations: 311.5 kB / 475.1 MB, free: 4.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002992/0.1695, allocations: 198.8 kB / 475.2 MB, free: 4.117 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.1697, allocations: 398.7 kB / 475.6 MB, free: 3.719 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006035/0.1703, allocations: 338.5 kB / 476 MB, free: 3.391 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007819/0.1711, allocations: 0.6024 MB / 476.6 MB, free: 2.676 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001392/0.1725, allocations: 0.9827 MB / 477.5 MB, free: 1.582 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.1725, allocations: 4 kB / 477.6 MB, free: 1.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002005/0.1745, allocations: 1.17 MB / 478.7 MB, free: 404 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.1745, allocations: 8 kB / 478.7 MB, free: 396 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.1745, allocations: 8 kB / 478.7 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002881/0.1748, allocations: 69.67 kB / 478.8 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009768/0.1758, allocations: 259.6 kB / 479.1 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002297/0.1781, allocations: 2.836 MB / 481.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008617/0.179, allocations: 154.2 kB / 482 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.577e-05/0.1791, allocations: 51.98 kB / 482.1 MB, free: 12.73 MB / 366.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.0004014/0.1795, allocations: 262.4 kB / 482.4 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.1797, allocations: 86.97 kB / 482.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001897/0.1816, allocations: 1.103 MB / 483.5 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/0.1816, allocations: 8 kB / 483.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1816, allocations: 4 kB / 483.6 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.1816, allocations: 11.91 kB / 483.6 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003909/0.1855, allocations: 2.722 MB / 486.3 MB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/0.1855, allocations: 4 kB / 486.3 MB, free: 8.258 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007047/0.1863, allocations: 183.7 kB / 486.5 MB, free: 8.078 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001978/0.1865, allocations: 61.95 kB / 486.5 MB, free: 8.012 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.377e-05/0.1865, allocations: 31.98 kB / 486.6 MB, free: 7.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00243/0.189, allocations: 2.816 MB / 489.4 MB, free: 4.891 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.189, allocations: 4 kB / 489.4 MB, free: 4.887 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002306/0.1913, allocations: 1.48 MB / 490.9 MB, free: 3.309 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003006/0.1916, allocations: 207.8 kB / 491.1 MB, free: 3.086 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.1918, allocations: 31.94 kB / 491.1 MB, free: 3.055 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006289/0.1924, allocations: 47.97 kB / 491.1 MB, free: 3.008 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002361/0.1926, allocations: 84.39 kB / 491.2 MB, free: 2.926 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.441e-05/0.1927, allocations: 35.98 kB / 491.3 MB, free: 2.891 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007236/0.1934, allocations: 0.5576 MB / 491.8 MB, free: 2.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1934, allocations: 0 / 491.8 MB, free: 2.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009638/0.1944, allocations: 307.4 kB / 492.1 MB, free: 2.039 MB / 366.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 (94): * Single equations (assignments): 92 * 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.0002796/0.1947, allocations: 167 kB / 492.3 MB, free: 1.863 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002353/0.1971, allocations: 1.126 MB / 493.4 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.1971, allocations: 4 kB / 493.4 MB, free: 0.707 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008894/0.198, allocations: 0.6189 MB / 494 MB, free: 60 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007888/0.1988, allocations: 123.6 kB / 494.2 MB, free: 15.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003319/0.2021, allocations: 1.863 MB / 496 MB, free: 13.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006469/0.2028, allocations: 1.004 MB / 497 MB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003104/0.2031, allocations: 91.42 kB / 497.1 MB, free: 12.84 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2031, allocations: 0 / 497.1 MB, free: 12.84 MB / 382.1 MB Notification: Performance of Templates: time 0.02779/0.2309, allocations: 20.28 MB / 0.5053 GB, free: 8.531 MB / 398.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