Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 101.6 kB / 291.2 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 36.08 kB / 350 MB, free: 44 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3093, allocations: 49.44 MB / 399.5 MB, free: 33.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005508/0.3149, allocations: 3.784 MB / 403.3 MB, free: 29.53 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001958/0.3169, allocations: 0.936 MB / 404.2 MB, free: 28.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002999/0.3172, allocations: 23.88 kB / 404.2 MB, free: 28.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003987/0.3177, allocations: 119.2 kB / 404.3 MB, free: 28.45 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008971/0.3186, allocations: 262.7 kB / 404.6 MB, free: 28.19 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003873/0.319, allocations: 103.9 kB / 404.7 MB, free: 28.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001853/0.3208, allocations: 1.65 MB / 406.3 MB, free: 26.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001344/0.3222, allocations: 1.003 MB / 407.3 MB, free: 25.39 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007113/0.3229, allocations: 0.5331 MB / 407.9 MB, free: 24.86 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009835/0.3239, allocations: 0.7238 MB / 408.6 MB, free: 24.13 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001876/0.3241, allocations: 111.9 kB / 408.7 MB, free: 24.02 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00026/0.3244, allocations: 100 kB / 408.8 MB, free: 23.92 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003576/0.3248, allocations: 394.8 kB / 409.2 MB, free: 23.54 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006939/0.3255, allocations: 0.6647 MB / 409.9 MB, free: 22.87 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001612/0.3271, allocations: 1.96 MB / 411.8 MB, free: 20.9 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.3271, allocations: 0 / 411.8 MB, free: 20.9 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.3272, allocations: 0 / 411.8 MB, free: 20.9 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.003e-05/0.3272, allocations: 4 kB / 411.8 MB, free: 20.9 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003494/0.3307, allocations: 1.664 MB / 413.5 MB, free: 19.18 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.3307, allocations: 12.03 kB / 413.5 MB, free: 19.17 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002958/0.3311, allocations: 139.3 kB / 413.6 MB, free: 19.03 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001749/0.3328, allocations: 0.8383 MB / 414.5 MB, free: 18.15 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.671e-05/0.3329, allocations: 82.59 kB / 414.5 MB, free: 18.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002008/0.3331, allocations: 111.9 kB / 414.7 MB, free: 17.96 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003102/0.3362, allocations: 1.544 MB / 416.2 MB, free: 16.37 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.443e-05/0.3363, allocations: 8 kB / 416.2 MB, free: 16.36 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001421/0.3364, allocations: 44 kB / 416.3 MB, free: 16.32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.615e-05/0.3365, allocations: 28 kB / 416.3 MB, free: 16.29 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002834/0.3393, allocations: 1.312 MB / 417.6 MB, free: 14.97 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008419/0.3478, allocations: 4.22 MB / 421.8 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/0.3491, allocations: 1.316 MB / 423.1 MB, free: 9.137 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008787/0.35, allocations: 459.4 kB / 423.6 MB, free: 8.688 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.726e-05/0.35, allocations: 4.438 kB / 423.6 MB, free: 8.684 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.3501, allocations: 47 kB / 423.6 MB, free: 8.629 MB / 298.7 MB Notification: Performance of pre-optimization done (n=49): time 3.396e-06/0.3501, allocations: 3.938 kB / 423.6 MB, free: 8.625 MB / 298.7 MB Notification: Performance of matching and sorting (n=51): time 0.004089/0.3542, allocations: 1.938 MB / 425.6 MB, free: 6.625 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.3542, allocations: 59.84 kB / 425.6 MB, free: 6.555 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/0.3555, allocations: 0.8203 MB / 426.4 MB, free: 5.727 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.094e-05/0.3556, allocations: 37.7 kB / 426.5 MB, free: 5.684 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003269/0.3559, allocations: 0.5414 MB / 427 MB, free: 5.133 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/0.356, allocations: 173.5 kB / 427.2 MB, free: 4.961 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002183/0.3563, allocations: 102.2 kB / 427.3 MB, free: 4.855 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.3564, allocations: 394.6 kB / 427.7 MB, free: 4.461 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006177/0.357, allocations: 304.9 kB / 428 MB, free: 4.164 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006694/0.3577, allocations: 403.4 kB / 428.4 MB, free: 3.738 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001265/0.359, allocations: 0.7028 MB / 429.1 MB, free: 3 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.359, allocations: 0 / 429.1 MB, free: 3 MB / 298.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001808/0.3608, allocations: 0.9123 MB / 430 MB, free: 2.074 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.3609, allocations: 8 kB / 430 MB, free: 2.066 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.3609, allocations: 4.297 kB / 430 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003576/0.3613, allocations: 116.7 kB / 430.1 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007387/0.362, allocations: 123.9 kB / 430.2 MB, free: 1.824 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002597/0.3646, allocations: 2.17 MB / 432.4 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005729/0.3652, allocations: 23.98 kB / 432.4 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.676e-05/0.3653, allocations: 19.98 kB / 432.4 MB, free: 15.47 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009525/0.3662, allocations: 465.4 kB / 432.9 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/0.3664, allocations: 71.16 kB / 433 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002498/0.3667, allocations: 95.08 kB / 433.1 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.3667, allocations: 4 kB / 433.1 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.3667, allocations: 0 / 433.1 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/0.3668, allocations: 3.984 kB / 433.1 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004944/0.3717, allocations: 2.018 MB / 435.1 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.3718, allocations: 4 kB / 435.1 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005668/0.3723, allocations: 84.05 kB / 435.2 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003659/0.3727, allocations: 100.8 kB / 435.3 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-05/0.3728, allocations: 23.92 kB / 435.3 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003166/0.376, allocations: 2.135 MB / 437.4 MB, free: 10.26 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.376, allocations: 0 / 437.4 MB, free: 10.26 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01471/0.3907, allocations: 6.902 MB / 444.3 MB, free: 3.051 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003472/0.3911, allocations: 156.3 kB / 444.5 MB, free: 2.879 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/0.3913, allocations: 20.11 kB / 444.5 MB, free: 2.859 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007019/0.392, allocations: 47.95 kB / 444.6 MB, free: 2.812 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/0.3922, allocations: 44.31 kB / 444.6 MB, free: 2.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.658e-05/0.3922, allocations: 16 kB / 444.6 MB, free: 2.754 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001196/0.3935, allocations: 0.5849 MB / 445.2 MB, free: 2.176 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3935, allocations: 4 kB / 445.2 MB, free: 2.172 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001721/0.3952, allocations: 284 kB / 445.5 MB, free: 1.895 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (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 (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002346/0.3954, allocations: 123.1 kB / 445.6 MB, free: 1.766 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002164/0.3976, allocations: 0.809 MB / 446.4 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/0.3977, allocations: 4 kB / 446.4 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001119/0.3988, allocations: 492.8 kB / 446.9 MB, free: 452 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/0.4003, allocations: 170.3 kB / 447.1 MB, free: 280 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00669/0.407, allocations: 3.225 MB / 450.3 MB, free: 12.97 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00137/0.4084, allocations: 1.363 MB / 451.6 MB, free: 11.58 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008428/0.4092, allocations: 185.8 kB / 451.8 MB, free: 11.39 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002199/0.4095, allocations: 47.44 kB / 451.9 MB, free: 11.35 MB / 330.7 MB Notification: Performance of SimCode: time 1.052e-06/0.4095, allocations: 4 kB / 451.9 MB, free: 11.34 MB / 330.7 MB Notification: Performance of Templates: time 0.02983/0.4393, allocations: 11.07 MB / 463 MB, free: 392 kB / 330.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches