Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.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.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") translateModel(Modelica.Electrical.Polyphase.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_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001308/0.001308, 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.345/1.345, allocations: 222.9 MB / 240.9 MB, free: 11 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.001098/0.001098, allocations: 100 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007596/0.0007597, allocations: 43.94 kB / 350 MB, free: 84 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2255, allocations: 49.44 MB / 399.5 MB, free: 33.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.004137/0.2297, allocations: 3.792 MB / 403.3 MB, free: 29.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001727/0.2314, allocations: 0.9803 MB / 404.2 MB, free: 28.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002353/0.2317, allocations: 19.94 kB / 404.3 MB, free: 28.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002839/0.232, allocations: 123.2 kB / 404.4 MB, free: 28.45 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006016/0.2326, allocations: 270.7 kB / 404.6 MB, free: 28.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001662/0.2328, allocations: 111.9 kB / 404.8 MB, free: 28.07 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009386/0.2338, allocations: 1.674 MB / 406.4 MB, free: 26.39 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007775/0.2345, allocations: 1.035 MB / 407.5 MB, free: 25.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004105/0.235, allocations: 0.5527 MB / 408 MB, free: 24.77 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006548/0.2356, allocations: 0.7393 MB / 408.8 MB, free: 24.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001235/0.2358, allocations: 111.9 kB / 408.9 MB, free: 23.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000173/0.2359, allocations: 104 kB / 409 MB, free: 23.81 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002324/0.2362, allocations: 402.8 kB / 409.4 MB, free: 23.42 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004593/0.2367, allocations: 0.6764 MB / 410 MB, free: 22.74 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001018/0.2377, allocations: 1.991 MB / 412 MB, free: 20.74 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2377, allocations: 0 / 412 MB, free: 20.74 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.2377, allocations: 0 / 412 MB, free: 20.74 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.735e-05/0.2377, allocations: 0 / 412 MB, free: 20.74 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.002435/0.2402, allocations: 1.691 MB / 413.7 MB, free: 19 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.2402, allocations: 8.031 kB / 413.7 MB, free: 18.99 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001812/0.2404, allocations: 143.2 kB / 413.9 MB, free: 18.85 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.2416, allocations: 0.8539 MB / 414.7 MB, free: 17.95 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.572e-05/0.2416, allocations: 82.62 kB / 414.8 MB, free: 17.87 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.2418, allocations: 111.9 kB / 414.9 MB, free: 17.76 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001839/0.2436, allocations: 1.568 MB / 416.5 MB, free: 16.15 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.2436, allocations: 3.938 kB / 416.5 MB, free: 16.14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.491e-05/0.2437, allocations: 48 kB / 416.5 MB, free: 16.1 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.2438, allocations: 28 kB / 416.6 MB, free: 16.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001615/0.2454, allocations: 1.336 MB / 417.9 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00522/0.2506, allocations: 4.318 MB / 422.2 MB, free: 10.28 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008183/0.2515, allocations: 1.338 MB / 423.6 MB, free: 8.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000687/0.2522, allocations: 0.5337 MB / 424.1 MB, free: 8.234 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.167e-05/0.2522, allocations: 8.438 kB / 424.1 MB, free: 8.227 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.2522, allocations: 39 kB / 424.1 MB, free: 8.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=51): time 2.485e-06/0.2522, allocations: 0 / 424.1 MB, free: 8.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=51): time 0.001133/0.2534, allocations: 0.8729 MB / 425 MB, free: 7.297 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/0.2534, allocations: 59.84 kB / 425.1 MB, free: 7.227 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000743/0.2542, allocations: 0.8127 MB / 425.9 MB, free: 6.406 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.059e-05/0.2542, allocations: 37.7 kB / 425.9 MB, free: 6.363 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002151/0.2544, allocations: 0.5453 MB / 426.5 MB, free: 5.809 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.374e-05/0.2545, allocations: 177.5 kB / 426.6 MB, free: 5.633 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.2546, allocations: 106.2 kB / 426.7 MB, free: 5.523 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.2548, allocations: 390.7 kB / 427.1 MB, free: 5.133 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003551/0.2551, allocations: 300.9 kB / 427.4 MB, free: 4.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003855/0.2555, allocations: 398.5 kB / 427.8 MB, free: 4.422 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007094/0.2562, allocations: 0.6863 MB / 428.5 MB, free: 3.707 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.2563, allocations: 0 / 428.5 MB, free: 3.707 MB / 298.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009595/0.2572, allocations: 0.826 MB / 429.3 MB, free: 2.871 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.2572, allocations: 4 kB / 429.3 MB, free: 2.867 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.2573, allocations: 4 kB / 429.3 MB, free: 2.863 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/0.2573, allocations: 4 kB / 429.3 MB, free: 2.859 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005253/0.2578, allocations: 151.7 kB / 429.5 MB, free: 2.711 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.2578, allocations: 4 kB / 429.5 MB, free: 2.707 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003479/0.2582, allocations: 67.47 kB / 429.5 MB, free: 2.641 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-05/0.2582, allocations: 24 kB / 429.6 MB, free: 2.617 MB / 298.7 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.0005125/0.2587, allocations: 457.4 kB / 430 MB, free: 2.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.253e-05/0.2589, allocations: 75.16 kB / 430.1 MB, free: 2.086 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001543/0.259, allocations: 87.08 kB / 430.2 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.259, allocations: 8 kB / 430.2 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.259, allocations: 0 / 430.2 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.259, allocations: 15.91 kB / 430.2 MB, free: 1.969 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002397/0.2615, allocations: 1.954 MB / 432.1 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.2615, allocations: 0 / 432.1 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004729/0.2619, allocations: 115.9 kB / 432.3 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.262, allocations: 4 kB / 432.3 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.58e-05/0.262, allocations: 20.16 kB / 432.3 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/0.262, allocations: 3.938 kB / 432.3 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.262, allocations: 4 kB / 432.3 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006061/0.2681, allocations: 4.525 MB / 436.8 MB, free: 11.11 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002045/0.2683, allocations: 180.1 kB / 437 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.18e-05/0.2684, allocations: 15.94 kB / 437 MB, free: 10.9 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003881/0.2688, allocations: 47.94 kB / 437.1 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.701e-05/0.2689, allocations: 36.39 kB / 437.1 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.319e-05/0.2689, allocations: 16 kB / 437.1 MB, free: 10.8 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007028/0.2697, allocations: 0.5966 MB / 437.7 MB, free: 10.21 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2697, allocations: 0 / 437.7 MB, free: 10.21 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000834/0.2705, allocations: 350.8 kB / 438 MB, free: 9.871 MB / 314.7 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.0001409/0.2707, allocations: 114.1 kB / 438.2 MB, free: 9.754 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009778/0.2716, allocations: 0.6535 MB / 438.8 MB, free: 9.102 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2717, allocations: 4 kB / 438.8 MB, free: 9.098 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004115/0.2721, allocations: 323.1 kB / 439.1 MB, free: 8.781 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000835/0.2729, allocations: 170.9 kB / 439.3 MB, free: 8.613 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003771/0.2767, allocations: 3.139 MB / 442.4 MB, free: 5.41 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008649/0.2776, allocations: 1.366 MB / 443.8 MB, free: 4.012 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005352/0.2781, allocations: 217.8 kB / 444 MB, free: 3.797 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.2783, allocations: 55.44 kB / 444.1 MB, free: 3.742 MB / 314.7 MB Notification: Performance of SimCode: time 5.01e-07/0.2783, allocations: 0 / 444.1 MB, free: 3.742 MB / 314.7 MB Notification: Performance of Templates: time 0.01877/0.2971, allocations: 10.4 MB / 454.5 MB, free: 9.453 MB / 330.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches