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.001348/0.001348, allocations: 107.4 kB / 17.16 MB, free: 6.305 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.001149/0.00115, allocations: 198 kB / 18.07 MB, free: 5.41 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.59/1.59, allocations: 205.1 MB / 223.9 MB, free: 12.46 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.001247/0.001247, allocations: 51.92 kB / 280 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1189, allocations: 46.63 MB / 326.6 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.00542/0.1244, allocations: 3.761 MB / 330.4 MB, free: 1.113 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002422/0.1269, allocations: 1.056 MB / 331.4 MB, free: 52 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002635/0.1272, allocations: 15.88 kB / 331.4 MB, free: 36 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003934/0.1276, allocations: 119.3 kB / 331.5 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008189/0.1285, allocations: 278.6 kB / 331.8 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002459/0.1287, allocations: 111.9 kB / 331.9 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001512/0.1302, allocations: 1.685 MB / 333.6 MB, free: 13.84 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001044/0.1313, allocations: 0.9558 MB / 334.6 MB, free: 12.85 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006375/0.1319, allocations: 0.5488 MB / 335.1 MB, free: 12.3 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008698/0.1328, allocations: 0.7393 MB / 335.9 MB, free: 11.56 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001605/0.133, allocations: 104 kB / 336 MB, free: 11.46 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002009/0.1332, allocations: 104 kB / 336.1 MB, free: 11.36 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000367/0.1336, allocations: 406.7 kB / 336.5 MB, free: 10.96 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008009/0.1344, allocations: 0.6725 MB / 337.1 MB, free: 10.28 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001916/0.1363, allocations: 1.986 MB / 339.1 MB, free: 8.289 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.1363, allocations: 0 / 339.1 MB, free: 8.289 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1364, allocations: 7.938 kB / 339.1 MB, free: 8.281 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.897e-05/0.1364, allocations: 0 / 339.1 MB, free: 8.281 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.003267/0.1397, allocations: 1.684 MB / 340.8 MB, free: 6.543 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.1397, allocations: 8.031 kB / 340.8 MB, free: 6.535 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002634/0.14, allocations: 143.2 kB / 341 MB, free: 6.395 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001239/0.1412, allocations: 0.8228 MB / 341.8 MB, free: 5.531 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.862e-05/0.1413, allocations: 82.62 kB / 341.9 MB, free: 5.449 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001994/0.1415, allocations: 111.9 kB / 342 MB, free: 5.34 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002575/0.1441, allocations: 1.576 MB / 343.5 MB, free: 3.719 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/0.1441, allocations: 0 / 343.5 MB, free: 3.719 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.1443, allocations: 51.98 kB / 343.6 MB, free: 3.668 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.591e-05/0.1443, allocations: 28 kB / 343.6 MB, free: 3.641 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002239/0.1465, allocations: 1.328 MB / 344.9 MB, free: 2.305 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006397/0.1529, allocations: 4.314 MB / 349.3 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/0.1543, allocations: 1.338 MB / 350.6 MB, free: 12.35 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008675/0.1552, allocations: 0.5261 MB / 351.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.577e-05/0.1552, allocations: 4.438 kB / 351.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.045e-05/0.1552, allocations: 46.94 kB / 351.2 MB, free: 11.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 2.164e-06/0.1553, allocations: 0 / 351.2 MB, free: 11.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.001468/0.1567, allocations: 0.8728 MB / 352 MB, free: 10.89 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.1568, allocations: 59.84 kB / 352.1 MB, free: 10.81 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/0.1579, allocations: 0.8243 MB / 352.9 MB, free: 9.98 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.055e-05/0.158, allocations: 33.7 kB / 353 MB, free: 9.941 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004549/0.1585, allocations: 0.5415 MB / 353.5 MB, free: 9.391 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001693/0.1586, allocations: 177.5 kB / 353.7 MB, free: 9.215 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001812/0.1588, allocations: 102.2 kB / 353.8 MB, free: 9.105 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002378/0.1591, allocations: 390.7 kB / 354.2 MB, free: 8.715 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004852/0.1596, allocations: 300.9 kB / 354.5 MB, free: 8.422 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005316/0.1601, allocations: 398.5 kB / 354.8 MB, free: 8 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/0.1611, allocations: 0.6864 MB / 355.5 MB, free: 7.289 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.1611, allocations: 0 / 355.5 MB, free: 7.289 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00136/0.1625, allocations: 0.8181 MB / 356.3 MB, free: 6.461 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.079e-05/0.1625, allocations: 7.281 kB / 356.4 MB, free: 6.457 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.1626, allocations: 7.984 kB / 356.4 MB, free: 6.449 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.759e-05/0.1626, allocations: 4 kB / 356.4 MB, free: 6.445 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006262/0.1632, allocations: 152.1 kB / 356.5 MB, free: 6.297 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/0.1633, allocations: 11.94 kB / 356.5 MB, free: 6.285 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003989/0.1637, allocations: 71.34 kB / 356.6 MB, free: 6.215 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.626e-05/0.1637, allocations: 16 kB / 356.6 MB, free: 6.199 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000701/0.1644, allocations: 465.4 kB / 357.1 MB, free: 5.734 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.1645, allocations: 71.16 kB / 357.1 MB, free: 5.664 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002137/0.1648, allocations: 99.02 kB / 357.2 MB, free: 5.562 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.1648, allocations: 4 kB / 357.2 MB, free: 5.559 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.1648, allocations: 4 kB / 357.2 MB, free: 5.555 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.1648, allocations: 7.922 kB / 357.2 MB, free: 5.547 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00321/0.168, allocations: 1.947 MB / 359.2 MB, free: 3.523 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.168, allocations: 3.938 kB / 359.2 MB, free: 3.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004967/0.1686, allocations: 128 kB / 359.3 MB, free: 3.395 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-06/0.1686, allocations: 4 kB / 359.3 MB, free: 3.391 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.475e-05/0.1686, allocations: 8 kB / 359.3 MB, free: 3.383 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.1686, allocations: 4 kB / 359.3 MB, free: 3.379 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.1686, allocations: 0 / 359.3 MB, free: 3.379 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001546/0.1702, allocations: 1.125 MB / 360.5 MB, free: 2.227 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002217/0.1704, allocations: 168.2 kB / 360.6 MB, free: 2.043 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.759e-05/0.1705, allocations: 16 kB / 360.6 MB, free: 2.027 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000401/0.1709, allocations: 51.94 kB / 360.7 MB, free: 1.977 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.1711, allocations: 40.33 kB / 360.7 MB, free: 1.938 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-05/0.1711, allocations: 16 kB / 360.7 MB, free: 1.922 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007968/0.1719, allocations: 0.5888 MB / 361.3 MB, free: 1.34 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1719, allocations: 0 / 361.3 MB, free: 1.34 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007742/0.1727, allocations: 286.7 kB / 361.6 MB, free: 1.059 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001806/0.1729, allocations: 119.4 kB / 361.7 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001052/0.1739, allocations: 0.6458 MB / 362.4 MB, free: 288 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.174, allocations: 0.5625 kB / 362.4 MB, free: 288 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004596/0.1744, allocations: 326.2 kB / 362.7 MB, free: 15.96 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008757/0.1753, allocations: 167.2 kB / 362.9 MB, free: 15.8 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004229/0.1795, allocations: 2.787 MB / 365.7 MB, free: 12.96 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009463/0.1805, allocations: 1.34 MB / 367 MB, free: 11.59 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005606/0.1811, allocations: 205.8 kB / 367.2 MB, free: 11.39 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/0.1812, allocations: 55.42 kB / 367.2 MB, free: 11.34 MB / 318.1 MB Notification: Performance of SimCode: time 1.282e-06/0.1813, allocations: 0 / 367.2 MB, free: 11.34 MB / 318.1 MB Notification: Performance of Templates: time 0.01693/0.1982, allocations: 9.531 MB / 376.8 MB, free: 1.801 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.makefile (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) 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