Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009753/0.0009754, allocations: 95.55 kB / 16.94 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 180.6 kB / 17.83 MB, free: 5.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.565/1.565, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004356/0.0004356, allocations: 8 kB / 280.7 MB, free: 3.766 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1181, allocations: 47.59 MB / 328.3 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.003837/0.122, allocations: 3.013 MB / 331.3 MB, free: 1.066 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002433/0.1244, allocations: 1.038 MB / 332.4 MB, free: 24 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003986/0.1249, allocations: 15.88 kB / 332.4 MB, free: 8 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003449/0.1252, allocations: 135.3 kB / 332.5 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007868/0.126, allocations: 223.3 kB / 332.7 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002799/0.1263, allocations: 99.83 kB / 332.8 MB, free: 15.56 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009848/0.1273, allocations: 0.8849 MB / 333.7 MB, free: 14.67 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008677/0.1282, allocations: 0.7625 MB / 334.5 MB, free: 13.89 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005479/0.1288, allocations: 446.5 kB / 334.9 MB, free: 13.45 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007055/0.1295, allocations: 0.5525 MB / 335.5 MB, free: 12.9 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.1296, allocations: 76 kB / 335.5 MB, free: 12.82 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.1298, allocations: 76 kB / 335.6 MB, free: 12.75 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003134/0.1301, allocations: 339 kB / 336 MB, free: 12.42 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002381/0.1303, allocations: 277 kB / 336.2 MB, free: 12.14 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00135/0.1317, allocations: 1.633 MB / 337.9 MB, free: 10.5 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1317, allocations: 0 / 337.9 MB, free: 10.5 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1317, allocations: 0 / 337.9 MB, free: 10.5 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.1317, allocations: 0 / 337.9 MB, free: 10.5 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.002574/0.1343, allocations: 1.492 MB / 339.4 MB, free: 8.957 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.1344, allocations: 8.031 kB / 339.4 MB, free: 8.949 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002323/0.1346, allocations: 138.4 kB / 339.5 MB, free: 8.812 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001376/0.136, allocations: 0.8025 MB / 340.3 MB, free: 7.969 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.673e-05/0.1361, allocations: 86.23 kB / 340.4 MB, free: 7.883 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001598/0.1362, allocations: 108 kB / 340.5 MB, free: 7.777 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00264/0.1389, allocations: 1.56 MB / 342 MB, free: 6.172 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.1389, allocations: 0 / 342 MB, free: 6.172 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/0.139, allocations: 44 kB / 342.1 MB, free: 6.129 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.257e-05/0.1391, allocations: 28 kB / 342.1 MB, free: 6.102 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00218/0.1413, allocations: 1.336 MB / 343.5 MB, free: 4.758 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007128/0.1484, allocations: 4.35 MB / 347.8 MB, free: 288 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/0.1497, allocations: 1.348 MB / 349.1 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.1497, allocations: 4.438 kB / 349.2 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/0.1497, allocations: 42.94 kB / 349.2 MB, free: 14.7 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 3.467e-06/0.1498, allocations: 0 / 349.2 MB, free: 14.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.001555/0.1513, allocations: 0.9081 MB / 350.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.1514, allocations: 59.8 kB / 350.2 MB, free: 13.72 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/0.1524, allocations: 0.8203 MB / 351 MB, free: 12.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.359e-05/0.1525, allocations: 37.7 kB / 351 MB, free: 12.85 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003974/0.1529, allocations: 0.5415 MB / 351.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/0.153, allocations: 181.4 kB / 351.7 MB, free: 12.12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-05/0.1531, allocations: 8 kB / 351.7 MB, free: 12.11 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002121/0.1533, allocations: 386.8 kB / 352.1 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004485/0.1537, allocations: 312.9 kB / 352.4 MB, free: 11.42 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004979/0.1542, allocations: 406.4 kB / 352.8 MB, free: 10.99 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005167/0.1548, allocations: 374 kB / 353.2 MB, free: 10.62 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.1548, allocations: 3.938 kB / 353.2 MB, free: 10.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001224/0.156, allocations: 0.8495 MB / 354 MB, free: 9.766 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.1561, allocations: 8 kB / 354.1 MB, free: 9.758 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.1561, allocations: 4 kB / 354.1 MB, free: 9.754 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.1561, allocations: 4 kB / 354.1 MB, free: 9.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006002/0.1567, allocations: 151.8 kB / 354.2 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/0.1567, allocations: 11.98 kB / 354.2 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004135/0.1572, allocations: 67.36 kB / 354.3 MB, free: 9.523 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.98e-05/0.1572, allocations: 24 kB / 354.3 MB, free: 9.5 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007298/0.1579, allocations: 461.4 kB / 354.8 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.1581, allocations: 75.14 kB / 354.8 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001432/0.1582, allocations: 87.08 kB / 354.9 MB, free: 8.875 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.1582, allocations: 8 kB / 354.9 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.1583, allocations: 0 / 354.9 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.1583, allocations: 3.984 kB / 354.9 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003035/0.1613, allocations: 1.965 MB / 356.9 MB, free: 6.828 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.1613, allocations: 3.984 kB / 356.9 MB, free: 6.824 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000503/0.1618, allocations: 124 kB / 357 MB, free: 6.703 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/0.1619, allocations: 7.984 kB / 357 MB, free: 6.695 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.375e-05/0.1619, allocations: 12 kB / 357 MB, free: 6.684 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.672e-06/0.1619, allocations: 4 kB / 357 MB, free: 6.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.1619, allocations: 0 / 357 MB, free: 6.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00154/0.1635, allocations: 1.178 MB / 358.2 MB, free: 5.457 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002241/0.1637, allocations: 176.1 kB / 358.4 MB, free: 5.266 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.622e-05/0.1638, allocations: 8 kB / 358.4 MB, free: 5.258 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003988/0.1642, allocations: 55.95 kB / 358.5 MB, free: 5.203 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.358e-05/0.1643, allocations: 44.33 kB / 358.5 MB, free: 5.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.062e-05/0.1643, allocations: 12 kB / 358.5 MB, free: 5.148 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007188/0.1651, allocations: 0.5849 MB / 359.1 MB, free: 4.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1651, allocations: 0 / 359.1 MB, free: 4.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007623/0.1658, allocations: 278.8 kB / 359.4 MB, free: 4.297 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (transformerL.inductor[1].i,transformerL.inductor[2].i,transformerL.inductor[3].i) * 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 (51): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001729/0.166, allocations: 123.1 kB / 359.5 MB, free: 4.164 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001035/0.1671, allocations: 0.6658 MB / 360.2 MB, free: 3.492 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.1671, allocations: 4.125 kB / 360.2 MB, free: 3.488 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004246/0.1675, allocations: 326.2 kB / 360.5 MB, free: 3.168 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007562/0.1683, allocations: 159 kB / 360.6 MB, free: 3.012 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00412/0.1724, allocations: 2.735 MB / 363.4 MB, free: 244 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001022/0.1735, allocations: 1.367 MB / 364.7 MB, free: 14.84 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000505/0.174, allocations: 201.8 kB / 364.9 MB, free: 14.64 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.1741, allocations: 55.42 kB / 365 MB, free: 14.59 MB / 318.1 MB Notification: Performance of SimCode: time 1.062e-06/0.1741, allocations: 0 / 365 MB, free: 14.59 MB / 318.1 MB Notification: Performance of Templates: time 0.01727/0.1914, allocations: 9.122 MB / 374.1 MB, free: 5.465 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYD/TransformerYD.csv","../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches