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.001139/0.001139, allocations: 97.14 kB / 17.35 MB, free: 6.344 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.001545/0.001545, allocations: 170.9 kB / 18.25 MB, free: 5.504 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.528/1.528, allocations: 223.2 MB / 242.3 MB, free: 14.47 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.2238/0.2238, allocations: 44.26 MB / 337.7 MB, free: 2.418 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003507/0.0003507, allocations: 8 kB / 410.3 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.141, allocations: 61.93 MB / 472.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.008825/0.1499, allocations: 6.365 MB / 478.6 MB, free: 6.906 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005367/0.1554, allocations: 2.167 MB / 480.8 MB, free: 4.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001352/0.1568, allocations: 27.94 kB / 480.8 MB, free: 4.707 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001386/0.1582, allocations: 314.5 kB / 481.1 MB, free: 4.398 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003165/0.1614, allocations: 0.761 MB / 481.9 MB, free: 3.637 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001853/0.1632, allocations: 0.54 MB / 482.4 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002099/0.1654, allocations: 1.097 MB / 483.5 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003105/0.1685, allocations: 1.434 MB / 485 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008755/0.1694, allocations: 406.2 kB / 485.4 MB, free: 132 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009659/0.1703, allocations: 0.5367 MB / 485.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002739/0.1706, allocations: 52 kB / 485.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009596/0.1716, allocations: 231.7 kB / 486.2 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002616/0.1719, allocations: 187.1 kB / 486.4 MB, free: 15.13 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008735/0.1728, allocations: 0.5184 MB / 486.9 MB, free: 14.6 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00225/0.175, allocations: 1.37 MB / 488.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.175, allocations: 0 / 488.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.175, allocations: 3.938 kB / 488.2 MB, free: 13.22 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.132e-05/0.1751, allocations: 0 / 488.2 MB, free: 13.22 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.00461/0.1797, allocations: 1.464 MB / 489.7 MB, free: 11.71 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.1798, allocations: 11.97 kB / 489.7 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009642/0.1894, allocations: 1.334 MB / 491.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/0.1908, allocations: 0.5296 MB / 491.6 MB, free: 9.785 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.117e-05/0.1909, allocations: 94.34 kB / 491.7 MB, free: 9.691 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002103/0.1911, allocations: 115.9 kB / 491.8 MB, free: 9.578 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0023/0.1934, allocations: 1.149 MB / 492.9 MB, free: 8.402 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.995e-05/0.1934, allocations: 7.906 kB / 492.9 MB, free: 8.395 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001251/0.1936, allocations: 48 kB / 493 MB, free: 8.348 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.786e-05/0.1936, allocations: 32 kB / 493 MB, free: 8.316 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002431/0.1961, allocations: 1.376 MB / 494.4 MB, free: 6.934 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008447/0.2045, allocations: 4.705 MB / 499.1 MB, free: 1.938 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001889/0.2064, allocations: 0.9364 MB / 0.4883 GB, free: 0.9727 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006543/0.2071, allocations: 371.6 kB / 0.4887 GB, free: 0.6094 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001279/0.2073, allocations: 102.1 kB / 0.4888 GB, free: 0.4922 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/0.2073, allocations: 47.5 kB / 0.4888 GB, free: 448 kB / 366.1 MB Notification: Performance of pre-optimization done (n=89): time 4.148e-06/0.2074, allocations: 0 / 0.4888 GB, free: 448 kB / 366.1 MB Notification: Performance of matching and sorting (n=89): time 0.002527/0.2099, allocations: 1.206 MB / 0.49 GB, free: 15.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/0.21, allocations: 64.34 kB / 0.4901 GB, free: 15.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.2112, allocations: 0.7816 MB / 0.4908 GB, free: 14.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.603e-05/0.2112, allocations: 41.7 kB / 0.4909 GB, free: 14.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003629/0.2116, allocations: 462.9 kB / 0.4913 GB, free: 13.81 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002781/0.2119, allocations: 303.6 kB / 0.4916 GB, free: 13.51 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/0.2121, allocations: 85.67 kB / 0.4917 GB, free: 13.42 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002765/0.2124, allocations: 394.7 kB / 0.492 GB, free: 13.03 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007067/0.2131, allocations: 334.5 kB / 0.4924 GB, free: 12.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000905/0.214, allocations: 0.5739 MB / 0.4929 GB, free: 12.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001643/0.2156, allocations: 0.931 MB / 0.4938 GB, free: 11.01 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-05/0.2157, allocations: 7.938 kB / 0.4938 GB, free: 11 MB / 382.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002369/0.218, allocations: 1.139 MB / 0.495 GB, free: 9.852 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.748e-05/0.2181, allocations: 8 kB / 0.495 GB, free: 9.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.955e-05/0.2181, allocations: 8 kB / 0.495 GB, free: 9.836 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003416/0.2185, allocations: 65.92 kB / 0.495 GB, free: 9.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009513/0.2194, allocations: 247.6 kB / 0.4953 GB, free: 9.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002784/0.2222, allocations: 2.635 MB / 0.4978 GB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/0.2235, allocations: 146.3 kB / 0.498 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001487/0.2237, allocations: 40 kB / 0.498 GB, free: 6.441 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.0007269/0.2244, allocations: 249.5 kB / 0.4983 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000283/0.2247, allocations: 95 kB / 0.4983 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002318/0.227, allocations: 1.106 MB / 0.4994 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.2271, allocations: 12 kB / 0.4994 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2271, allocations: 0 / 0.4994 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/0.2271, allocations: 11.92 kB / 0.4995 GB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00439/0.2315, allocations: 2.707 MB / 0.5021 GB, free: 1.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/0.2315, allocations: 4 kB / 0.5021 GB, free: 1.984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007949/0.2323, allocations: 180.5 kB / 0.5023 GB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002393/0.2326, allocations: 65.67 kB / 0.5023 GB, free: 1.738 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.609e-05/0.2327, allocations: 24 kB / 0.5024 GB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2757/0.5083, allocations: 2.611 MB / 0.5049 GB, free: 45.13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.164e-05/0.5084, allocations: 10.62 kB / 0.5049 GB, free: 45.13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002786/0.5112, allocations: 1.472 MB / 0.5064 GB, free: 44.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000383/0.5116, allocations: 211.1 kB / 0.5066 GB, free: 44.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/0.5117, allocations: 24.19 kB / 0.5066 GB, free: 44.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006953/0.5124, allocations: 57.73 kB / 0.5066 GB, free: 44.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002111/0.5126, allocations: 84.3 kB / 0.5067 GB, free: 44.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.88e-05/0.5127, allocations: 35.23 kB / 0.5067 GB, free: 44.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001052/0.5138, allocations: 0.553 MB / 0.5073 GB, free: 44.56 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5138, allocations: 3.719 kB / 0.5073 GB, free: 44.56 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001192/0.515, allocations: 286.6 kB / 0.5076 GB, free: 44.56 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.0003776/0.5154, allocations: 168.2 kB / 0.5077 GB, free: 44.47 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002165/0.5175, allocations: 1.07 MB / 0.5088 GB, free: 44.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/0.5176, allocations: 0.9688 kB / 0.5088 GB, free: 44.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009682/0.5185, allocations: 0.6239 MB / 0.5094 GB, free: 43.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001581/0.5201, allocations: 125.4 kB / 0.5095 GB, free: 43.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004625/0.5248, allocations: 2.227 MB / 0.5117 GB, free: 42.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009538/0.5257, allocations: 0.9924 MB / 0.5126 GB, free: 41.81 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008485/0.5266, allocations: 150 kB / 0.5128 GB, free: 41.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002754/0.5269, allocations: 77.05 kB / 0.5129 GB, free: 41.75 MB / 382.1 MB Notification: Performance of SimCode: time 1.453e-06/0.5269, allocations: 0 / 0.5129 GB, free: 41.75 MB / 382.1 MB Notification: Performance of Templates: time 0.0237/0.5506, allocations: 9.717 MB / 0.5224 GB, free: 39.7 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","/var/lib/jenkins/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