Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008612/0.0008613, allocations: 97.48 kB / 18.01 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009617/0.0009618, allocations: 205.9 kB / 18.94 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 227.7 MB / 247.5 MB, free: 9.512 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2043/0.2043, allocations: 46.18 MB / 345.9 MB, free: 11.17 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002636/0.0002635, allocations: 11.98 kB / 420.2 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1043, allocations: 63.56 MB / 483.7 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.006876/0.1112, allocations: 6.911 MB / 490.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004114/0.1154, allocations: 2.323 MB / 493 MB, free: 10.87 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008616/0.1163, allocations: 27.94 kB / 493 MB, free: 10.84 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009833/0.1173, allocations: 338.5 kB / 493.3 MB, free: 10.51 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001961/0.1193, allocations: 0.6219 MB / 493.9 MB, free: 9.891 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001566/0.1208, allocations: 0.6968 MB / 494.6 MB, free: 9.195 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001493/0.1223, allocations: 1.186 MB / 495.8 MB, free: 8.004 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002961/0.1253, allocations: 1.684 MB / 497.5 MB, free: 6.285 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006674/0.126, allocations: 446 kB / 497.9 MB, free: 5.848 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007046/0.1267, allocations: 0.5833 MB / 498.5 MB, free: 5.262 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001632/0.1269, allocations: 52 kB / 498.6 MB, free: 5.211 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006352/0.1275, allocations: 243.8 kB / 498.8 MB, free: 4.973 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000171/0.1277, allocations: 207 kB / 499 MB, free: 4.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005587/0.1283, allocations: 0.5611 MB / 499.6 MB, free: 4.199 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001189/0.1295, allocations: 1.215 MB / 0.4891 GB, free: 2.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1295, allocations: 0 / 0.4891 GB, free: 2.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1295, allocations: 3.938 kB / 0.4891 GB, free: 2.977 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.468e-05/0.1296, allocations: 0 / 0.4891 GB, free: 2.977 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.004238/0.1338, allocations: 1.573 MB / 0.4906 GB, free: 1.352 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.1338, allocations: 8.031 kB / 0.4906 GB, free: 1.344 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009517/0.1434, allocations: 1.338 MB / 0.4919 GB, free: 4 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.1444, allocations: 0.5645 MB / 0.4925 GB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.582e-05/0.1445, allocations: 95.03 kB / 0.4926 GB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000313/0.1449, allocations: 132.1 kB / 0.4927 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002614/0.1475, allocations: 1.242 MB / 0.4939 GB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.205e-05/0.1475, allocations: 7.906 kB / 0.4939 GB, free: 13.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000134/0.1477, allocations: 59.98 kB / 0.494 GB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.563e-05/0.1477, allocations: 36 kB / 0.494 GB, free: 13.81 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002499/0.1502, allocations: 1.459 MB / 0.4954 GB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008511/0.1587, allocations: 5.856 MB / 0.5011 GB, free: 6 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/0.1606, allocations: 0.9575 MB / 0.5021 GB, free: 5.012 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005837/0.1612, allocations: 379.7 kB / 0.5024 GB, free: 4.641 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001639/0.1614, allocations: 183.2 kB / 0.5026 GB, free: 4.426 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.1614, allocations: 43.56 kB / 0.5027 GB, free: 4.375 MB / 382.1 MB Notification: Performance of pre-optimization done (n=90): time 2.655e-06/0.1614, allocations: 0 / 0.5027 GB, free: 4.375 MB / 382.1 MB Notification: Performance of matching and sorting (n=90): time 0.002236/0.1637, allocations: 1.218 MB / 0.5038 GB, free: 3.109 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.1637, allocations: 64.41 kB / 0.5039 GB, free: 3.035 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/0.1649, allocations: 0.8247 MB / 0.5047 GB, free: 2.195 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.204e-05/0.1649, allocations: 41.7 kB / 0.5047 GB, free: 2.148 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003662/0.1653, allocations: 0.5024 MB / 0.5052 GB, free: 1.637 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002534/0.1656, allocations: 299.6 kB / 0.5055 GB, free: 1.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.1657, allocations: 89.67 kB / 0.5056 GB, free: 1.246 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.1659, allocations: 406.7 kB / 0.506 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006461/0.1665, allocations: 354.5 kB / 0.5063 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1997/0.3663, allocations: 0.6096 MB / 0.5069 GB, free: 38.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00185/0.3682, allocations: 1.005 MB / 0.5079 GB, free: 37.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-05/0.3682, allocations: 2.188 kB / 0.5079 GB, free: 37.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.00248/0.3707, allocations: 1.197 MB / 0.5091 GB, free: 37.87 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.3707, allocations: 12.66 kB / 0.5091 GB, free: 37.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/0.3708, allocations: 8.25 kB / 0.5091 GB, free: 37.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002929/0.3711, allocations: 67.84 kB / 0.5092 GB, free: 37.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.3721, allocations: 262.5 kB / 0.5094 GB, free: 37.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001556/0.3737, allocations: 2.638 MB / 0.512 GB, free: 35.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009164/0.3746, allocations: 153.3 kB / 0.5121 GB, free: 35.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.108e-05/0.3747, allocations: 48.55 kB / 0.5122 GB, free: 35.31 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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.0003955/0.3751, allocations: 266.3 kB / 0.5124 GB, free: 35.17 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.3753, allocations: 92.09 kB / 0.5125 GB, free: 35.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001914/0.3772, allocations: 1.119 MB / 0.5136 GB, free: 34.78 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.3772, allocations: 16 kB / 0.5136 GB, free: 34.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3772, allocations: 0 / 0.5136 GB, free: 34.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.3773, allocations: 6.578 kB / 0.5136 GB, free: 34.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003733/0.381, allocations: 3.157 MB / 0.5167 GB, free: 32.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/0.381, allocations: 6.875 kB / 0.5167 GB, free: 32.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007236/0.3818, allocations: 185 kB / 0.5169 GB, free: 32.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002106/0.382, allocations: 58.55 kB / 0.517 GB, free: 32.47 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.288e-05/0.3821, allocations: 26.81 kB / 0.517 GB, free: 32.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001356/0.3834, allocations: 2.632 MB / 0.5196 GB, free: 29.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.446e-06/0.3834, allocations: 10.62 kB / 0.5196 GB, free: 29.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002153/0.3856, allocations: 1.491 MB / 0.521 GB, free: 28.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002697/0.3859, allocations: 211.9 kB / 0.5212 GB, free: 28.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001531/0.386, allocations: 24.59 kB / 0.5213 GB, free: 28.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006919/0.3867, allocations: 61.95 kB / 0.5213 GB, free: 28.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/0.3869, allocations: 79.5 kB / 0.5214 GB, free: 28.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-05/0.387, allocations: 35.33 kB / 0.5214 GB, free: 28.65 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007496/0.3877, allocations: 0.5789 MB / 0.522 GB, free: 28.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3877, allocations: 2.625 kB / 0.522 GB, free: 28.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001047/0.3888, allocations: 311.5 kB / 0.5223 GB, free: 28.32 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 (93): * Single equations (assignments): 91 * 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.0002615/0.3891, allocations: 163.8 kB / 0.5224 GB, free: 28.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001905/0.391, allocations: 1.099 MB / 0.5235 GB, free: 27.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.391, allocations: 1.188 kB / 0.5235 GB, free: 27.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008687/0.3919, allocations: 0.6314 MB / 0.5241 GB, free: 27.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001342/0.3932, allocations: 122.1 kB / 0.5243 GB, free: 27.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003248/0.3965, allocations: 2.394 MB / 0.5266 GB, free: 25.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005796/0.3971, allocations: 1.018 MB / 0.5276 GB, free: 24.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003635/0.3974, allocations: 90.5 kB / 0.5277 GB, free: 24.9 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3975, allocations: 0 / 0.5277 GB, free: 24.9 MB / 382.1 MB Notification: Performance of Templates: time 0.02345/0.4209, allocations: 21.13 MB / 0.5483 GB, free: 11.69 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches