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.001291/0.001291, allocations: 116.7 kB / 17.08 MB, free: 6.004 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.001243/0.001243, allocations: 195 kB / 18.01 MB, free: 5.086 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.419/1.419, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2024/0.2024, allocations: 43.52 MB / 314.8 MB, free: 472 kB / 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.001449/0.001449, allocations: 59.91 kB / 442.5 MB, free: 5.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1275, allocations: 57.79 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.008498/0.1361, allocations: 6.929 MB / 0.4953 GB, free: 4.859 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004582/0.1407, allocations: 2.19 MB / 0.4974 GB, free: 2.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.1419, allocations: 23.94 kB / 0.4975 GB, free: 2.637 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0038/0.1458, allocations: 1.528 MB / 0.4989 GB, free: 1.102 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002829/0.1486, allocations: 0.8548 MB / 0.4998 GB, free: 248 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001607/0.1502, allocations: 0.5802 MB / 0.5004 GB, free: 15.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002046/0.1523, allocations: 1.19 MB / 0.5015 GB, free: 14.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001568/0.1539, allocations: 0.8081 MB / 0.5023 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000904/0.1548, allocations: 494 kB / 0.5028 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001054/0.1559, allocations: 0.6186 MB / 0.5034 GB, free: 12.53 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003093/0.1562, allocations: 96 kB / 0.5035 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009499/0.1571, allocations: 283.8 kB / 0.5037 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002887/0.1574, allocations: 255 kB / 0.504 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008504/0.1583, allocations: 0.5713 MB / 0.5045 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002082/0.1604, allocations: 1.471 MB / 0.506 GB, free: 9.855 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.1604, allocations: 0 / 0.506 GB, free: 9.855 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1604, allocations: 0 / 0.506 GB, free: 9.855 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.279e-05/0.1605, allocations: 0 / 0.506 GB, free: 9.855 MB / 398.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.004801/0.1653, allocations: 1.702 MB / 0.5076 GB, free: 8.102 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.1653, allocations: 23.77 kB / 0.5077 GB, free: 8.078 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01036/0.1757, allocations: 1.424 MB / 0.5091 GB, free: 6.652 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.1769, allocations: 0.5521 MB / 0.5096 GB, free: 6.059 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.879e-05/0.177, allocations: 90.48 kB / 0.5097 GB, free: 5.969 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003349/0.1773, allocations: 120 kB / 0.5098 GB, free: 5.852 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002686/0.18, allocations: 1.185 MB / 0.5109 GB, free: 4.641 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.278e-05/0.1801, allocations: 4 kB / 0.511 GB, free: 4.637 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001322/0.1802, allocations: 59.94 kB / 0.511 GB, free: 4.578 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.025e-05/0.1803, allocations: 32 kB / 0.511 GB, free: 4.547 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002392/0.1827, allocations: 1.431 MB / 0.5124 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007725/0.1904, allocations: 4.811 MB / 0.5171 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00201/0.1924, allocations: 1.206 MB / 0.5183 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005919/0.193, allocations: 363.8 kB / 0.5187 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001177/0.1932, allocations: 102.1 kB / 0.5188 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.549e-05/0.1932, allocations: 51.55 kB / 0.5188 GB, free: 12.17 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 3.015e-06/0.1932, allocations: 0 / 0.5188 GB, free: 12.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=91): time 0.00225/0.1955, allocations: 1.194 MB / 0.52 GB, free: 10.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.1955, allocations: 64.41 kB / 0.52 GB, free: 10.85 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.1966, allocations: 0.7973 MB / 0.5208 GB, free: 10.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.481e-05/0.1966, allocations: 41.7 kB / 0.5209 GB, free: 10 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003559/0.197, allocations: 490.6 kB / 0.5213 GB, free: 9.512 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002287/0.1972, allocations: 303.5 kB / 0.5216 GB, free: 9.211 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000295/0.1975, allocations: 198.8 kB / 0.5218 GB, free: 9.012 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.1977, allocations: 398.7 kB / 0.5222 GB, free: 8.613 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000605/0.1983, allocations: 350.4 kB / 0.5225 GB, free: 8.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007794/0.1991, allocations: 0.5985 MB / 0.5231 GB, free: 7.559 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001431/0.2006, allocations: 0.9788 MB / 0.5241 GB, free: 6.473 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/0.2006, allocations: 8 kB / 0.5241 GB, free: 6.465 MB / 414.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001995/0.2026, allocations: 1.178 MB / 0.5252 GB, free: 5.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.2026, allocations: 8 kB / 0.5252 GB, free: 5.262 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/0.2027, allocations: 8 kB / 0.5252 GB, free: 5.254 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000307/0.203, allocations: 66.02 kB / 0.5253 GB, free: 5.184 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009874/0.204, allocations: 259.6 kB / 0.5255 GB, free: 4.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002104/0.2061, allocations: 2.828 MB / 0.5283 GB, free: 1.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000848/0.2069, allocations: 154.3 kB / 0.5284 GB, free: 1.668 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.259e-05/0.207, allocations: 44 kB / 0.5285 GB, free: 1.625 MB / 414.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.0003482/0.2074, allocations: 261.5 kB / 0.5287 GB, free: 1.359 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.2076, allocations: 90.88 kB / 0.5288 GB, free: 1.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001798/0.2094, allocations: 1.099 MB / 0.5299 GB, free: 144 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.2094, allocations: 12 kB / 0.5299 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2094, allocations: 0 / 0.5299 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.2094, allocations: 11.92 kB / 0.5299 GB, free: 120 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2446/0.454, allocations: 2.717 MB / 0.5326 GB, free: 37.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/0.4541, allocations: 10.17 kB / 0.5326 GB, free: 37.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007388/0.4548, allocations: 178.5 kB / 0.5328 GB, free: 37.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002179/0.455, allocations: 65.39 kB / 0.5328 GB, free: 37.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.693e-05/0.4551, allocations: 28.72 kB / 0.5328 GB, free: 37.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001636/0.4567, allocations: 2.824 MB / 0.5356 GB, free: 35.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.907e-06/0.4568, allocations: 6.75 kB / 0.5356 GB, free: 35.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00238/0.4591, allocations: 1.479 MB / 0.5371 GB, free: 34.72 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002888/0.4594, allocations: 201.2 kB / 0.5372 GB, free: 34.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001596/0.4596, allocations: 25.45 kB / 0.5373 GB, free: 34.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006497/0.4603, allocations: 50.09 kB / 0.5373 GB, free: 34.58 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/0.4604, allocations: 84.98 kB / 0.5374 GB, free: 34.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.348e-05/0.4605, allocations: 37.53 kB / 0.5374 GB, free: 34.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007737/0.4613, allocations: 0.5648 MB / 0.538 GB, free: 34.47 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4613, allocations: 3.828 kB / 0.538 GB, free: 34.47 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009986/0.4623, allocations: 293.3 kB / 0.5383 GB, free: 34.45 MB / 414.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.0003007/0.4626, allocations: 166.3 kB / 0.5384 GB, free: 34.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001944/0.4646, allocations: 1.102 MB / 0.5395 GB, free: 33.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.513e-06/0.4646, allocations: 1.625 kB / 0.5395 GB, free: 33.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008631/0.4655, allocations: 0.6233 MB / 0.5401 GB, free: 33.51 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007365/0.4662, allocations: 122.4 kB / 0.5402 GB, free: 33.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003108/0.4693, allocations: 1.845 MB / 0.542 GB, free: 32.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005744/0.4699, allocations: 0.9967 MB / 0.543 GB, free: 31.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003437/0.4703, allocations: 94.61 kB / 0.5431 GB, free: 31.65 MB / 414.1 MB Notification: Performance of SimCode: time 8.31e-07/0.4703, allocations: 3.844 kB / 0.5431 GB, free: 31.65 MB / 414.1 MB Notification: Performance of Templates: time 0.02569/0.496, allocations: 20.4 MB / 0.563 GB, free: 23.98 MB / 414.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