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.001335/0.00134, allocations: 117 kB / 18.41 MB, free: 4.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001784/0.001785, allocations: 208.5 kB / 19.36 MB, free: 3.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2273/0.2273, allocations: 46.12 MB / 344.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002341/0.002341, allocations: 72.44 kB / 419 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1286, allocations: 62.44 MB / 481.5 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.008619/0.1373, allocations: 7.49 MB / 489 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004687/0.142, allocations: 2.357 MB / 491.3 MB, free: 10.61 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007553/0.1428, allocations: 27.94 kB / 491.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003647/0.1465, allocations: 1.742 MB / 493.1 MB, free: 8.84 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001944/0.1485, allocations: 0.7026 MB / 493.8 MB, free: 8.137 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001504/0.15, allocations: 0.7472 MB / 494.5 MB, free: 7.395 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001388/0.1514, allocations: 1.253 MB / 495.8 MB, free: 6.137 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001262/0.1527, allocations: 0.9222 MB / 496.7 MB, free: 5.199 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006473/0.1533, allocations: 0.5136 MB / 497.2 MB, free: 4.684 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007777/0.1541, allocations: 0.6692 MB / 497.9 MB, free: 4.012 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001913/0.1543, allocations: 108 kB / 498 MB, free: 3.906 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00092/0.1552, allocations: 291.8 kB / 498.3 MB, free: 3.621 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002253/0.1555, allocations: 278.9 kB / 498.6 MB, free: 3.348 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005939/0.1561, allocations: 0.6024 MB / 499.2 MB, free: 2.742 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001866/0.158, allocations: 1.6 MB / 0.489 GB, free: 1.137 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.158, allocations: 4 kB / 0.489 GB, free: 1.133 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.158, allocations: 0 / 0.489 GB, free: 1.133 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.974e-05/0.158, allocations: 0 / 0.489 GB, free: 1.133 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.004431/0.1625, allocations: 1.804 MB / 0.4908 GB, free: 15.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.1625, allocations: 8.031 kB / 0.4908 GB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009078/0.1716, allocations: 1.326 MB / 0.4921 GB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.173, allocations: 0.5763 MB / 0.4926 GB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.619e-05/0.1731, allocations: 95.03 kB / 0.4927 GB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002027/0.1733, allocations: 136.1 kB / 0.4929 GB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002238/0.1755, allocations: 1.238 MB / 0.4941 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.397e-05/0.1756, allocations: 11.89 kB / 0.4941 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/0.1757, allocations: 59.94 kB / 0.4941 GB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.711e-05/0.1757, allocations: 36 kB / 0.4942 GB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002245/0.178, allocations: 1.439 MB / 0.4956 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008114/0.1861, allocations: 5.797 MB / 0.5012 GB, free: 3.996 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001664/0.1878, allocations: 0.9482 MB / 0.5022 GB, free: 3.023 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005517/0.1884, allocations: 367.7 kB / 0.5025 GB, free: 2.664 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001622/0.1885, allocations: 183.2 kB / 0.5027 GB, free: 2.449 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.1886, allocations: 43.56 kB / 0.5027 GB, free: 2.398 MB / 382.1 MB Notification: Performance of pre-optimization done (n=90): time 2.715e-06/0.1886, allocations: 4 kB / 0.5027 GB, free: 2.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=90): time 0.002336/0.1909, allocations: 1.206 MB / 0.5039 GB, free: 1.137 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.191, allocations: 60.41 kB / 0.504 GB, free: 1.066 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/0.1921, allocations: 0.8286 MB / 0.5048 GB, free: 232 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.796e-05/0.1922, allocations: 41.7 kB / 0.5048 GB, free: 184 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2734/0.4656, allocations: 497.4 kB / 0.5053 GB, free: 40.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004922/0.4662, allocations: 310.2 kB / 0.5056 GB, free: 40.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00061/0.4668, allocations: 198.6 kB / 0.5058 GB, free: 40.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002286/0.467, allocations: 401.6 kB / 0.5062 GB, free: 39.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000869/0.4679, allocations: 346.4 kB / 0.5065 GB, free: 39.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/0.469, allocations: 0.6192 MB / 0.5071 GB, free: 39.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001841/0.4709, allocations: 0.9894 MB / 0.5081 GB, free: 39.08 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.931e-05/0.4709, allocations: 2.75 kB / 0.5081 GB, free: 39.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002588/0.4735, allocations: 1.182 MB / 0.5092 GB, free: 38.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.162e-05/0.4735, allocations: 13.23 kB / 0.5092 GB, free: 38.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.526e-05/0.4736, allocations: 8.125 kB / 0.5092 GB, free: 38.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003484/0.4739, allocations: 67.69 kB / 0.5093 GB, free: 38.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.475, allocations: 263.4 kB / 0.5096 GB, free: 38.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001862/0.4768, allocations: 2.823 MB / 0.5123 GB, free: 35.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.4779, allocations: 151.2 kB / 0.5125 GB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.681e-05/0.478, allocations: 47.97 kB / 0.5125 GB, free: 35.56 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.000442/0.4784, allocations: 279.7 kB / 0.5128 GB, free: 35.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00017/0.4786, allocations: 91.72 kB / 0.5129 GB, free: 35.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002422/0.481, allocations: 1.109 MB / 0.5139 GB, free: 34.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/0.4811, allocations: 8.25 kB / 0.514 GB, free: 34.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.478e-05/0.4811, allocations: 1.984 kB / 0.514 GB, free: 34.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.768e-05/0.4811, allocations: 15.47 kB / 0.514 GB, free: 34.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005182/0.4863, allocations: 3.146 MB / 0.517 GB, free: 32.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/0.4863, allocations: 5.531 kB / 0.5171 GB, free: 32.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007258/0.4871, allocations: 182 kB / 0.5172 GB, free: 32.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002138/0.4873, allocations: 64.06 kB / 0.5173 GB, free: 32.47 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.704e-05/0.4873, allocations: 27.28 kB / 0.5173 GB, free: 32.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001523/0.4889, allocations: 2.82 MB / 0.5201 GB, free: 29.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.4889, allocations: 7.438 kB / 0.5201 GB, free: 29.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002284/0.4912, allocations: 1.47 MB / 0.5215 GB, free: 28.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002911/0.4915, allocations: 200.5 kB / 0.5217 GB, free: 28.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/0.4916, allocations: 33.92 kB / 0.5217 GB, free: 28.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000617/0.4923, allocations: 57.52 kB / 0.5218 GB, free: 28.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/0.4924, allocations: 79.86 kB / 0.5219 GB, free: 28.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.587e-05/0.4925, allocations: 35.42 kB / 0.5219 GB, free: 28.47 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009085/0.4934, allocations: 0.5777 MB / 0.5225 GB, free: 28.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4934, allocations: 0.5938 kB / 0.5225 GB, free: 28.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001494/0.4949, allocations: 308.8 kB / 0.5228 GB, free: 28.14 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.0003096/0.4952, allocations: 168.4 kB / 0.5229 GB, free: 28.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002183/0.4974, allocations: 1.098 MB / 0.524 GB, free: 27.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/0.4975, allocations: 1.188 kB / 0.524 GB, free: 27.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009393/0.4984, allocations: 0.6272 MB / 0.5246 GB, free: 27.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008397/0.4993, allocations: 117.3 kB / 0.5247 GB, free: 27.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003176/0.5024, allocations: 1.849 MB / 0.5265 GB, free: 25.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005621/0.503, allocations: 1.019 MB / 0.5275 GB, free: 25.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005872/0.5036, allocations: 155.1 kB / 0.5277 GB, free: 25.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002401/0.5039, allocations: 84.16 kB / 0.5277 GB, free: 25.17 MB / 382.1 MB Notification: Performance of SimCode: time 1.282e-06/0.5039, allocations: 1.188 kB / 0.5277 GB, free: 25.17 MB / 382.1 MB Notification: Performance of Templates: time 0.01942/0.5233, allocations: 10.58 MB / 0.5381 GB, free: 21.59 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 -s cvode -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