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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001604/0.001604, allocations: 183 kB / 16.63 MB, free: 5.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.634/1.634, allocations: 205.1 MB / 222.5 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00104/0.00104, allocations: 92.8 kB / 269.9 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3375/0.3375, allocations: 43.49 MB / 360.7 MB, free: 51.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009549/0.0009549, allocations: 59.91 kB / 429.2 MB, free: 6.379 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1137, allocations: 57.76 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009233/0.123, allocations: 6.887 MB / 493.9 MB, free: 5.621 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00489/0.1279, allocations: 2.182 MB / 496.1 MB, free: 3.43 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004814/0.1284, allocations: 23.94 kB / 496.1 MB, free: 3.406 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002818/0.1313, allocations: 1.428 MB / 497.5 MB, free: 1.973 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001678/0.133, allocations: 0.7817 MB / 498.3 MB, free: 1.188 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.1341, allocations: 0.5499 MB / 498.9 MB, free: 0.6367 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001052/0.1351, allocations: 1.148 MB / 0.4883 GB, free: 15.48 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001028/0.1362, allocations: 0.7478 MB / 0.489 GB, free: 14.71 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004915/0.1367, allocations: 458.1 kB / 0.4895 GB, free: 14.27 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005498/0.1372, allocations: 0.5951 MB / 0.49 GB, free: 13.67 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.1373, allocations: 68 kB / 0.4901 GB, free: 13.6 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005646/0.1379, allocations: 255.8 kB / 0.4903 GB, free: 13.35 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001736/0.1381, allocations: 231 kB / 0.4906 GB, free: 13.12 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004719/0.1386, allocations: 0.5439 MB / 0.4911 GB, free: 12.58 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001415/0.14, allocations: 1.425 MB / 0.4925 GB, free: 11.15 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.14, allocations: 4 kB / 0.4925 GB, free: 11.14 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.14, allocations: 0 / 0.4925 GB, free: 11.14 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.14, allocations: 0 / 0.4925 GB, free: 11.14 MB / 394.7 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.0036/0.1436, allocations: 1.706 MB / 0.4942 GB, free: 9.387 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.1437, allocations: 11.97 kB / 0.4942 GB, free: 9.375 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009215/0.1529, allocations: 1.424 MB / 0.4956 GB, free: 7.949 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008913/0.1538, allocations: 0.5445 MB / 0.4961 GB, free: 7.363 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.973e-05/0.1539, allocations: 94.48 kB / 0.4962 GB, free: 7.27 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001727/0.1541, allocations: 124 kB / 0.4963 GB, free: 7.148 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001907/0.156, allocations: 1.181 MB / 0.4975 GB, free: 5.941 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.485e-05/0.156, allocations: 11.98 kB / 0.4975 GB, free: 5.93 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.1562, allocations: 48 kB / 0.4975 GB, free: 5.883 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.263e-05/0.1562, allocations: 32 kB / 0.4975 GB, free: 5.852 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002131/0.1583, allocations: 1.439 MB / 0.4989 GB, free: 4.406 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2006/0.3589, allocations: 4.832 MB / 0.5037 GB, free: 57.7 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001899/0.3609, allocations: 1.194 MB / 0.5048 GB, free: 57.3 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006649/0.3615, allocations: 371.5 kB / 0.5052 GB, free: 57.29 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001325/0.3617, allocations: 99.52 kB / 0.5053 GB, free: 57.19 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.3617, allocations: 43.22 kB / 0.5053 GB, free: 57.15 MB / 394.7 MB Notification: Performance of pre-optimization done (n=91): time 2.575e-06/0.3617, allocations: 1.188 kB / 0.5053 GB, free: 57.15 MB / 394.7 MB Notification: Performance of matching and sorting (n=91): time 0.002496/0.3642, allocations: 1.199 MB / 0.5065 GB, free: 56.88 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.3643, allocations: 61.78 kB / 0.5066 GB, free: 56.81 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.3653, allocations: 0.8035 MB / 0.5073 GB, free: 56.54 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.536e-05/0.3653, allocations: 42.02 kB / 0.5074 GB, free: 56.49 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003195/0.3657, allocations: 483.9 kB / 0.5078 GB, free: 56.11 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002371/0.3659, allocations: 314.5 kB / 0.5081 GB, free: 55.88 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003218/0.3662, allocations: 197.6 kB / 0.5083 GB, free: 55.78 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.3664, allocations: 397.9 kB / 0.5087 GB, free: 55.43 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005641/0.367, allocations: 345.8 kB / 0.509 GB, free: 55.3 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006678/0.3676, allocations: 0.6131 MB / 0.5096 GB, free: 54.85 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/0.3689, allocations: 0.9728 MB / 0.5106 GB, free: 54.23 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.3689, allocations: 2.781 kB / 0.5106 GB, free: 54.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001845/0.3707, allocations: 1.173 MB / 0.5117 GB, free: 53.72 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.3707, allocations: 7.875 kB / 0.5117 GB, free: 53.72 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.3708, allocations: 7.219 kB / 0.5117 GB, free: 53.72 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002539/0.371, allocations: 66.45 kB / 0.5118 GB, free: 53.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009082/0.3719, allocations: 268 kB / 0.5121 GB, free: 53.67 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00143/0.3734, allocations: 2.628 MB / 0.5146 GB, free: 51.03 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008496/0.3743, allocations: 154 kB / 0.5148 GB, free: 50.92 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.73e-05/0.3743, allocations: 48.3 kB / 0.5148 GB, free: 50.91 MB / 394.7 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.000323/0.3747, allocations: 259.4 kB / 0.5151 GB, free: 50.7 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.3748, allocations: 88.31 kB / 0.5152 GB, free: 50.66 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001559/0.3763, allocations: 1.106 MB / 0.5162 GB, free: 50.13 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.3764, allocations: 13.44 kB / 0.5163 GB, free: 50.13 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.3764, allocations: 0 / 0.5163 GB, free: 50.13 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.3764, allocations: 6.797 kB / 0.5163 GB, free: 50.13 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002917/0.3793, allocations: 2.733 MB / 0.5189 GB, free: 48.35 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/0.3793, allocations: 5.656 kB / 0.5189 GB, free: 48.35 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006812/0.38, allocations: 180.5 kB / 0.5191 GB, free: 48.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001855/0.3802, allocations: 67.14 kB / 0.5192 GB, free: 48.3 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.014e-05/0.3803, allocations: 27.11 kB / 0.5192 GB, free: 48.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001276/0.3816, allocations: 2.628 MB / 0.5218 GB, free: 45.63 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.3816, allocations: 6.406 kB / 0.5218 GB, free: 45.63 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003657/0.3852, allocations: 3.379 MB / 0.5251 GB, free: 43.34 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001949/0.3855, allocations: 205.5 kB / 0.5253 GB, free: 43.16 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.3856, allocations: 27.81 kB / 0.5253 GB, free: 43.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006097/0.3862, allocations: 55.62 kB / 0.5253 GB, free: 43.13 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/0.3864, allocations: 79.42 kB / 0.5254 GB, free: 43.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.148e-05/0.3864, allocations: 34.2 kB / 0.5255 GB, free: 43.1 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005862/0.387, allocations: 0.5683 MB / 0.526 GB, free: 42.84 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.387, allocations: 0 / 0.526 GB, free: 42.84 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001041/0.3881, allocations: 359.3 kB / 0.5263 GB, free: 42.79 MB / 394.7 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.0002586/0.3883, allocations: 173.6 kB / 0.5265 GB, free: 42.66 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001535/0.3899, allocations: 1.087 MB / 0.5276 GB, free: 42.13 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.3899, allocations: 0 / 0.5276 GB, free: 42.13 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007407/0.3906, allocations: 0.633 MB / 0.5282 GB, free: 41.75 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006912/0.3913, allocations: 128.7 kB / 0.5283 GB, free: 41.69 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002721/0.3941, allocations: 2.667 MB / 0.5309 GB, free: 39.87 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.3944, allocations: 1.026 MB / 0.5319 GB, free: 39.14 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005766/0.395, allocations: 146 kB / 0.5321 GB, free: 39.1 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/0.3952, allocations: 88.36 kB / 0.5321 GB, free: 39.08 MB / 394.7 MB Notification: Performance of SimCode: time 4.01e-07/0.3952, allocations: 0 / 0.5321 GB, free: 39.08 MB / 394.7 MB Notification: Performance of Templates: time 0.01456/0.4098, allocations: 10.34 MB / 0.5422 GB, free: 38.42 MB / 394.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches