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.001333/0.001333, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001487/0.001487, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.4 MB / 247.4 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2278/0.2278, allocations: 46.09 MB / 344.8 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.0013, allocations: 79.89 kB / 418.3 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.112, allocations: 62.45 MB / 480.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.008347/0.1204, allocations: 7.491 MB / 488.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00427/0.1247, allocations: 2.353 MB / 490.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008799/0.1256, allocations: 23.94 kB / 490.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003897/0.1296, allocations: 1.742 MB / 492.3 MB, free: 9.609 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002175/0.1318, allocations: 0.7027 MB / 493 MB, free: 8.906 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001676/0.1334, allocations: 0.7502 MB / 493.8 MB, free: 8.16 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001698/0.1351, allocations: 1.233 MB / 495 MB, free: 6.922 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001523/0.1367, allocations: 0.9303 MB / 495.9 MB, free: 5.977 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007852/0.1375, allocations: 0.5059 MB / 496.4 MB, free: 5.469 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008878/0.1384, allocations: 0.673 MB / 497.1 MB, free: 4.793 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002601/0.1387, allocations: 104 kB / 497.2 MB, free: 4.691 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007953/0.1395, allocations: 303.8 kB / 497.5 MB, free: 4.395 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002605/0.1397, allocations: 274.9 kB / 497.8 MB, free: 4.125 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007386/0.1405, allocations: 0.6025 MB / 498.4 MB, free: 3.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001918/0.1424, allocations: 1.588 MB / 500 MB, free: 1.926 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.1424, allocations: 0 / 500 MB, free: 1.926 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1424, allocations: 0 / 500 MB, free: 1.926 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.054e-05/0.1425, allocations: 0 / 500 MB, free: 1.926 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.004877/0.1474, allocations: 1.803 MB / 0.49 GB, free: 72 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.1474, allocations: 8.031 kB / 0.49 GB, free: 64 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009535/0.157, allocations: 1.334 MB / 0.4913 GB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009418/0.1579, allocations: 0.549 MB / 0.4919 GB, free: 14.13 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.886e-05/0.158, allocations: 103 kB / 0.492 GB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002684/0.1583, allocations: 140.1 kB / 0.4921 GB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002293/0.1606, allocations: 1.234 MB / 0.4933 GB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.827e-05/0.1607, allocations: 7.906 kB / 0.4933 GB, free: 12.63 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/0.1608, allocations: 52 kB / 0.4934 GB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.651e-05/0.1608, allocations: 32 kB / 0.4934 GB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002582/0.1634, allocations: 1.459 MB / 0.4948 GB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00896/0.1724, allocations: 5.832 MB / 0.5005 GB, free: 4.758 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001788/0.1742, allocations: 0.9521 MB / 0.5014 GB, free: 3.781 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005807/0.1748, allocations: 371.6 kB / 0.5018 GB, free: 3.418 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001629/0.175, allocations: 187.2 kB / 0.502 GB, free: 3.199 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.1751, allocations: 39.56 kB / 0.502 GB, free: 3.152 MB / 382.1 MB Notification: Performance of pre-optimization done (n=90): time 3.156e-06/0.1751, allocations: 0 / 0.502 GB, free: 3.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=90): time 0.002234/0.1773, allocations: 1.202 MB / 0.5032 GB, free: 1.898 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.1774, allocations: 64.41 kB / 0.5032 GB, free: 1.824 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.1784, allocations: 0.8247 MB / 0.504 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.81e-05/0.1784, allocations: 41.7 kB / 0.5041 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003179/0.1788, allocations: 0.4986 MB / 0.5046 GB, free: 444 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002102/0.179, allocations: 311.5 kB / 0.5049 GB, free: 128 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.184/0.363, allocations: 192.2 kB / 0.5051 GB, free: 40.26 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002089/0.3633, allocations: 400.9 kB / 0.5054 GB, free: 39.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009178/0.3642, allocations: 346.3 kB / 0.5058 GB, free: 39.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009763/0.3652, allocations: 0.6157 MB / 0.5064 GB, free: 39.64 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00164/0.3668, allocations: 0.9931 MB / 0.5073 GB, free: 39.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.589e-05/0.3669, allocations: 2.75 kB / 0.5073 GB, free: 39.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002342/0.3692, allocations: 1.182 MB / 0.5085 GB, free: 38.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.3693, allocations: 11.88 kB / 0.5085 GB, free: 38.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.157e-05/0.3693, allocations: 10.02 kB / 0.5085 GB, free: 38.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003101/0.3696, allocations: 66.33 kB / 0.5086 GB, free: 38.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.3706, allocations: 265.7 kB / 0.5088 GB, free: 38.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001674/0.3723, allocations: 2.827 MB / 0.5116 GB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009615/0.3733, allocations: 153.2 kB / 0.5117 GB, free: 36.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.933e-05/0.3734, allocations: 48.11 kB / 0.5118 GB, free: 36.03 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.0004123/0.3738, allocations: 256.2 kB / 0.512 GB, free: 35.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001913/0.374, allocations: 96.44 kB / 0.5121 GB, free: 35.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001928/0.376, allocations: 1.116 MB / 0.5132 GB, free: 35.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.376, allocations: 9.406 kB / 0.5132 GB, free: 35.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.376, allocations: 1.625 kB / 0.5132 GB, free: 35.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.376, allocations: 4.312 kB / 0.5132 GB, free: 35.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003879/0.3799, allocations: 3.154 MB / 0.5163 GB, free: 32.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/0.3799, allocations: 6.141 kB / 0.5163 GB, free: 32.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007112/0.3807, allocations: 182.7 kB / 0.5165 GB, free: 32.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002149/0.3809, allocations: 63.62 kB / 0.5165 GB, free: 32.92 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.255e-05/0.381, allocations: 26.48 kB / 0.5166 GB, free: 32.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00147/0.3824, allocations: 2.819 MB / 0.5193 GB, free: 30.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.3825, allocations: 14.56 kB / 0.5193 GB, free: 30.06 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002071/0.3845, allocations: 1.468 MB / 0.5208 GB, free: 29.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002446/0.3848, allocations: 200.6 kB / 0.521 GB, free: 28.99 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001644/0.385, allocations: 25.66 kB / 0.521 GB, free: 28.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006994/0.3857, allocations: 57.98 kB / 0.521 GB, free: 28.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/0.3858, allocations: 76.2 kB / 0.5211 GB, free: 28.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.294e-05/0.3859, allocations: 41.88 kB / 0.5212 GB, free: 28.92 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007733/0.3867, allocations: 0.5792 MB / 0.5217 GB, free: 28.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3867, allocations: 0 / 0.5217 GB, free: 28.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001159/0.3879, allocations: 308.2 kB / 0.522 GB, free: 28.59 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.0003091/0.3882, allocations: 166.2 kB / 0.5222 GB, free: 28.47 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002286/0.3905, allocations: 1.13 MB / 0.5233 GB, free: 27.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/0.3905, allocations: 1.031 kB / 0.5233 GB, free: 27.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009054/0.3914, allocations: 0.6227 MB / 0.5239 GB, free: 27.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000842/0.3923, allocations: 132.5 kB / 0.524 GB, free: 27.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003263/0.3955, allocations: 1.901 MB / 0.5259 GB, free: 26.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006128/0.3962, allocations: 1.015 MB / 0.5269 GB, free: 25.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003461/0.3965, allocations: 91.02 kB / 0.5269 GB, free: 25.61 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3965, allocations: 0 / 0.5269 GB, free: 25.61 MB / 382.1 MB Notification: Performance of Templates: time 0.02313/0.4197, allocations: 21.26 MB / 0.5477 GB, free: 11.68 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