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.001296/0.001296, allocations: 176.4 kB / 17.4 MB, free: 4.422 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.412/1.412, allocations: 223.3 MB / 241.4 MB, free: 11.61 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.0008191/0.0008191, allocations: 93.86 kB / 292.6 MB, free: 10.77 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003009/0.000301, allocations: 15.94 kB / 352.3 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2334, allocations: 50.4 MB / 402.7 MB, free: 32.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1039/0.3374, allocations: 82.06 MB / 484.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/0.3377, allocations: 71.95 kB / 484.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.051/0.3887, allocations: 19.43 MB / 0.4925 GB, free: 10.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.3888, allocations: 0 / 0.4925 GB, free: 10.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000134/0.3889, allocations: 31.94 kB / 0.4925 GB, free: 10.59 MB / 378.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.003758/0.3927, allocations: 1.481 MB / 0.494 GB, free: 9.055 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.3927, allocations: 8.031 kB / 0.494 GB, free: 9.047 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005101/0.3933, allocations: 143.3 kB / 0.4941 GB, free: 8.906 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002073/0.3953, allocations: 0.9379 MB / 0.495 GB, free: 7.922 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.864e-05/0.3955, allocations: 86.56 kB / 0.4951 GB, free: 7.836 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003101/0.3958, allocations: 112.4 kB / 0.4952 GB, free: 7.727 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002883/0.3987, allocations: 1.521 MB / 0.4967 GB, free: 6.137 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.688e-05/0.3987, allocations: 192 / 0.4967 GB, free: 6.137 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/0.3988, allocations: 55.94 kB / 0.4968 GB, free: 6.082 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.294e-05/0.3989, allocations: 31.94 kB / 0.4968 GB, free: 6.051 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002049/0.4009, allocations: 1.223 MB / 0.498 GB, free: 4.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007282/0.4082, allocations: 4.303 MB / 0.5022 GB, free: 396 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2145/0.6228, allocations: 1.308 MB / 0.5035 GB, free: 91.15 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009966/0.6238, allocations: 474.5 kB / 0.5039 GB, free: 91.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/0.6239, allocations: 7.75 kB / 0.5039 GB, free: 91.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.6239, allocations: 38.12 kB / 0.504 GB, free: 91.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=51): time 3.135e-06/0.6239, allocations: 2.859 kB / 0.504 GB, free: 91.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=51): time 0.001607/0.6255, allocations: 0.8783 MB / 0.5048 GB, free: 91.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.6256, allocations: 61.16 kB / 0.5049 GB, free: 91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.6266, allocations: 0.8058 MB / 0.5057 GB, free: 90.88 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.377e-05/0.6266, allocations: 33.89 kB / 0.5057 GB, free: 90.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003507/0.627, allocations: 0.5468 MB / 0.5062 GB, free: 90.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.6271, allocations: 177 kB / 0.5064 GB, free: 90.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.541e-05/0.6271, allocations: 9.594 kB / 0.5064 GB, free: 90.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.6273, allocations: 388 kB / 0.5068 GB, free: 90.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004549/0.6277, allocations: 298.2 kB / 0.5071 GB, free: 90.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004365/0.6282, allocations: 401.6 kB / 0.5074 GB, free: 90.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009809/0.6292, allocations: 0.69 MB / 0.5081 GB, free: 90.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.6292, allocations: 1.062 kB / 0.5081 GB, free: 90.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009291/0.6301, allocations: 0.8203 MB / 0.5089 GB, free: 90.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.6301, allocations: 11.12 kB / 0.5089 GB, free: 90.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.6302, allocations: 3.875 kB / 0.5089 GB, free: 90.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.6302, allocations: 3.75 kB / 0.5089 GB, free: 90.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005366/0.6307, allocations: 150.7 kB / 0.5091 GB, free: 90.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.6307, allocations: 6.844 kB / 0.5091 GB, free: 90.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003362/0.6311, allocations: 70.12 kB / 0.5091 GB, free: 90.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.135e-05/0.6311, allocations: 19.16 kB / 0.5092 GB, free: 90.03 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004704/0.6316, allocations: 459.8 kB / 0.5096 GB, free: 89.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.649e-05/0.6317, allocations: 80.11 kB / 0.5097 GB, free: 89.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.6318, allocations: 86.77 kB / 0.5098 GB, free: 89.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.6318, allocations: 7.188 kB / 0.5098 GB, free: 89.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.6318, allocations: 3.75 kB / 0.5098 GB, free: 89.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.6319, allocations: 0 / 0.5098 GB, free: 89.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002104/0.634, allocations: 1.931 MB / 0.5117 GB, free: 89.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.634, allocations: 0 / 0.5117 GB, free: 89.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004465/0.6344, allocations: 115.9 kB / 0.5118 GB, free: 89.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.6344, allocations: 11.75 kB / 0.5118 GB, free: 89.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.982e-05/0.6345, allocations: 16.44 kB / 0.5118 GB, free: 89.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.6345, allocations: 0.875 kB / 0.5118 GB, free: 89.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.6345, allocations: 2.656 kB / 0.5118 GB, free: 89.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.6356, allocations: 1.11 MB / 0.5129 GB, free: 89.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.6357, allocations: 173.3 kB / 0.5131 GB, free: 89.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.451e-05/0.6358, allocations: 10.44 kB / 0.5131 GB, free: 89.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003462/0.6362, allocations: 56.42 kB / 0.5131 GB, free: 89.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.533e-05/0.6362, allocations: 37.7 kB / 0.5132 GB, free: 89.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-05/0.6363, allocations: 16.78 kB / 0.5132 GB, free: 89.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004946/0.6368, allocations: 0.5749 MB / 0.5137 GB, free: 88.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6368, allocations: 0 / 0.5137 GB, free: 88.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005269/0.6373, allocations: 281.4 kB / 0.514 GB, free: 88.87 MB / 378.7 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.000119/0.6374, allocations: 120.5 kB / 0.5141 GB, free: 88.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007348/0.6382, allocations: 0.655 MB / 0.5148 GB, free: 88.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.6382, allocations: 2.875 kB / 0.5148 GB, free: 88.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003422/0.6385, allocations: 319.6 kB / 0.5151 GB, free: 88.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007907/0.6393, allocations: 178.2 kB / 0.5152 GB, free: 88.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002656/0.642, allocations: 2.721 MB / 0.5179 GB, free: 87.01 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006451/0.6427, allocations: 1.336 MB / 0.5192 GB, free: 86.19 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004639/0.6431, allocations: 209.4 kB / 0.5194 GB, free: 86.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.6433, allocations: 59.16 kB / 0.5194 GB, free: 86.16 MB / 378.7 MB Notification: Performance of SimCode: time 5.81e-07/0.6433, allocations: 0 / 0.5194 GB, free: 86.16 MB / 378.7 MB Notification: Performance of Templates: time 0.01299/0.6563, allocations: 9.089 MB / 0.5283 GB, free: 83.41 MB / 378.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/jenkins1/ws/OpenModelicaLibraryTestingWork/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