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.001094/0.001094, allocations: 116.2 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001351/0.001351, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.537/1.537, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2383/0.2383, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 71.89 kB / 481.3 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4887/0.4902, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009982/0.5002, allocations: 7.488 MB / 0.5383 GB, free: 7.637 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007945/0.5082, allocations: 2.345 MB / 0.5406 GB, free: 5.723 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001929/0.5102, allocations: 27.81 kB / 0.5406 GB, free: 5.719 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004447/0.5147, allocations: 1.747 MB / 0.5423 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003258/0.518, allocations: 0.7012 MB / 0.543 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001925/0.52, allocations: 0.7551 MB / 0.5438 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002299/0.5223, allocations: 1.246 MB / 0.545 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001555/0.5238, allocations: 0.9317 MB / 0.5459 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001002/0.5249, allocations: 0.506 MB / 0.5464 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008491/0.5257, allocations: 0.67 MB / 0.547 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000169/0.5259, allocations: 107.2 kB / 0.5471 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008969/0.5268, allocations: 299.8 kB / 0.5474 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002094/0.527, allocations: 274.9 kB / 0.5477 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000531/0.5276, allocations: 0.6025 MB / 0.5483 GB, free: 0 / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001996/0.5296, allocations: 1.615 MB / 0.5498 GB, free: 14.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.5296, allocations: 0 / 0.5498 GB, free: 14.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.5296, allocations: 0 / 0.5498 GB, free: 14.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.678e-05/0.5296, allocations: 0 / 0.5498 GB, free: 14.38 MB / 414.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.004411/0.534, allocations: 1.833 MB / 0.5516 GB, free: 12.49 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.5341, allocations: 8.031 kB / 0.5516 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008998/0.5431, allocations: 1.339 MB / 0.553 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001539/0.5447, allocations: 0.5648 MB / 0.5535 GB, free: 10.54 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.162e-05/0.5448, allocations: 103 kB / 0.5536 GB, free: 10.44 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002192/0.545, allocations: 140.1 kB / 0.5537 GB, free: 10.3 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002445/0.5475, allocations: 1.238 MB / 0.5549 GB, free: 9.043 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.904e-05/0.5475, allocations: 4 kB / 0.5549 GB, free: 9.039 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001197/0.5476, allocations: 56 kB / 0.555 GB, free: 8.984 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.842e-05/0.5477, allocations: 32 kB / 0.555 GB, free: 8.953 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002359/0.55, allocations: 1.443 MB / 0.5564 GB, free: 7.504 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008616/0.5587, allocations: 5.815 MB / 0.5621 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001851/0.5606, allocations: 0.9536 MB / 0.5631 GB, free: 232 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006074/0.5612, allocations: 371.7 kB / 0.5634 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001969/0.5614, allocations: 179.2 kB / 0.5636 GB, free: 15.65 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.706e-05/0.5615, allocations: 51.48 kB / 0.5636 GB, free: 15.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 4.318e-06/0.5615, allocations: 0 / 0.5636 GB, free: 15.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.002509/0.564, allocations: 1.199 MB / 0.5648 GB, free: 14.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.5641, allocations: 64.34 kB / 0.5649 GB, free: 14.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/0.5652, allocations: 0.8248 MB / 0.5657 GB, free: 13.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.56e-05/0.5653, allocations: 41.7 kB / 0.5657 GB, free: 13.38 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004391/0.5657, allocations: 0.5156 MB / 0.5662 GB, free: 12.86 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003117/0.5661, allocations: 325.2 kB / 0.5665 GB, free: 12.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003465/0.5664, allocations: 198.9 kB / 0.5667 GB, free: 12.34 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002147/0.5666, allocations: 398.7 kB / 0.5671 GB, free: 11.94 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006345/0.5673, allocations: 350.5 kB / 0.5674 GB, free: 11.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008555/0.5682, allocations: 0.6147 MB / 0.568 GB, free: 10.87 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/0.5696, allocations: 0.9913 MB / 0.569 GB, free: 9.762 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.5696, allocations: 4 kB / 0.569 GB, free: 9.758 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002131/0.5718, allocations: 1.186 MB / 0.5702 GB, free: 8.559 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.698e-05/0.5718, allocations: 15.88 kB / 0.5702 GB, free: 8.543 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/0.5719, allocations: 11.94 kB / 0.5702 GB, free: 8.531 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000352/0.5722, allocations: 69.67 kB / 0.5702 GB, free: 8.457 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.5733, allocations: 255.6 kB / 0.5705 GB, free: 8.207 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002633/0.5759, allocations: 2.826 MB / 0.5732 GB, free: 5.098 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/0.577, allocations: 166.7 kB / 0.5734 GB, free: 4.934 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.382e-05/0.5771, allocations: 51.94 kB / 0.5735 GB, free: 4.883 MB / 430.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.0005629/0.5776, allocations: 256.9 kB / 0.5737 GB, free: 4.625 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001663/0.5778, allocations: 103.3 kB / 0.5738 GB, free: 4.523 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001957/0.5798, allocations: 1.107 MB / 0.5749 GB, free: 3.387 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.5798, allocations: 8 kB / 0.5749 GB, free: 3.379 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.5798, allocations: 0 / 0.5749 GB, free: 3.379 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.5798, allocations: 3.984 kB / 0.5749 GB, free: 3.375 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004404/0.5842, allocations: 3.163 MB / 0.578 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/0.5843, allocations: 11.98 kB / 0.578 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006859/0.585, allocations: 175.7 kB / 0.5782 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00022/0.5852, allocations: 62.31 kB / 0.5782 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.341e-05/0.5853, allocations: 27.98 kB / 0.5782 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002263/0.5875, allocations: 2.816 MB / 0.581 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/0.5875, allocations: 11.94 kB / 0.581 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002251/0.5898, allocations: 1.485 MB / 0.5825 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003381/0.5902, allocations: 212.3 kB / 0.5827 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/0.5903, allocations: 28 kB / 0.5827 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006145/0.5909, allocations: 55.95 kB / 0.5827 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.5911, allocations: 84.28 kB / 0.5828 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.487e-05/0.5911, allocations: 32 kB / 0.5829 GB, free: 10.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008191/0.592, allocations: 0.5771 MB / 0.5834 GB, free: 9.926 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.592, allocations: 0 / 0.5834 GB, free: 9.926 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001121/0.5931, allocations: 307.6 kB / 0.5837 GB, free: 9.625 MB / 446.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.0004083/0.5935, allocations: 178.9 kB / 0.5839 GB, free: 9.438 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002146/0.5957, allocations: 1.09 MB / 0.5849 GB, free: 8.316 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/0.5957, allocations: 4 kB / 0.5849 GB, free: 8.312 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.5967, allocations: 0.6301 MB / 0.5856 GB, free: 7.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007766/0.5975, allocations: 119.8 kB / 0.5857 GB, free: 7.547 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003601/0.6011, allocations: 1.88 MB / 0.5875 GB, free: 5.562 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000669/0.6018, allocations: 1.012 MB / 0.5885 GB, free: 4.523 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006045/0.6024, allocations: 155.7 kB / 0.5887 GB, free: 4.367 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002326/0.6026, allocations: 83.42 kB / 0.5887 GB, free: 4.289 MB / 446.1 MB Notification: Performance of SimCode: time 1.052e-06/0.6026, allocations: 0 / 0.5887 GB, free: 4.289 MB / 446.1 MB Notification: Performance of Templates: time 0.02119/0.6238, allocations: 10.79 MB / 0.5993 GB, free: 9.555 MB / 462.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/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_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches