Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00203/0.00203, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 227.2 MB / 245 MB, free: 5.898 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008801/0.0008801, allocations: 100.4 kB / 297.3 MB, free: 5.973 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002098/0.00021, allocations: 4 kB / 357.9 MB, free: 9.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.1962, allocations: 51.47 MB / 409.4 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09508/0.2914, allocations: 82.84 MB / 492.2 MB, free: 7.762 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001916/0.2916, allocations: 83.89 kB / 492.3 MB, free: 7.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04858/0.3402, allocations: 19.51 MB / 0.4998 GB, free: 4.039 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3402, allocations: 0 / 0.4998 GB, free: 4.039 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.883e-05/0.3403, allocations: 39.92 kB / 0.4999 GB, free: 4 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.003012/0.3433, allocations: 1.489 MB / 0.5013 GB, free: 2.457 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.3434, allocations: 8.031 kB / 0.5013 GB, free: 2.449 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006598/0.344, allocations: 182.4 kB / 0.5015 GB, free: 2.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00173/0.3458, allocations: 0.914 MB / 0.5024 GB, free: 1.309 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.062e-05/0.3458, allocations: 90.2 kB / 0.5025 GB, free: 1.219 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000176/0.346, allocations: 111.9 kB / 0.5026 GB, free: 1.109 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1733/0.5193, allocations: 1.505 MB / 0.5041 GB, free: 86.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.652e-05/0.5194, allocations: 2.125 kB / 0.5041 GB, free: 86.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002714/0.5197, allocations: 47.78 kB / 0.5041 GB, free: 86.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.778e-05/0.5198, allocations: 27.03 kB / 0.5041 GB, free: 86.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002728/0.5225, allocations: 1.226 MB / 0.5053 GB, free: 86.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008127/0.5307, allocations: 4.298 MB / 0.5095 GB, free: 85.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001213/0.5319, allocations: 1.315 MB / 0.5108 GB, free: 84.85 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.404e-05/0.532, allocations: 5.375 kB / 0.5108 GB, free: 84.85 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.532, allocations: 40.44 kB / 0.5109 GB, free: 84.81 MB / 378.7 MB Notification: Performance of pre-optimization done (n=51): time 3.036e-06/0.532, allocations: 3.906 kB / 0.5109 GB, free: 84.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=51): time 0.001516/0.5335, allocations: 0.8814 MB / 0.5117 GB, free: 84.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.5336, allocations: 62.09 kB / 0.5118 GB, free: 84.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008629/0.5345, allocations: 0.7291 MB / 0.5125 GB, free: 84.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.386e-05/0.5345, allocations: 35.86 kB / 0.5125 GB, free: 84.51 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/0.5348, allocations: 0.5442 MB / 0.5131 GB, free: 84.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.44e-05/0.5349, allocations: 175.9 kB / 0.5132 GB, free: 84.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.306e-05/0.5349, allocations: 9.781 kB / 0.5132 GB, free: 84.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.932e-05/0.535, allocations: 387 kB / 0.5136 GB, free: 83.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003644/0.5353, allocations: 304.2 kB / 0.5139 GB, free: 83.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003829/0.5357, allocations: 394 kB / 0.5143 GB, free: 83.65 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00041/0.5362, allocations: 362.5 kB / 0.5146 GB, free: 83.53 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.5362, allocations: 0 / 0.5146 GB, free: 83.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009444/0.5371, allocations: 0.826 MB / 0.5154 GB, free: 83.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.5371, allocations: 5.125 kB / 0.5154 GB, free: 83.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.5372, allocations: 3.938 kB / 0.5154 GB, free: 83.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.5372, allocations: 13.11 kB / 0.5155 GB, free: 83.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005237/0.5377, allocations: 148.1 kB / 0.5156 GB, free: 83.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.5377, allocations: 10.16 kB / 0.5156 GB, free: 83.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003393/0.5381, allocations: 66.5 kB / 0.5157 GB, free: 83.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/0.5381, allocations: 25.16 kB / 0.5157 GB, free: 83.18 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.0004577/0.5386, allocations: 463.4 kB / 0.5161 GB, free: 82.94 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.034e-05/0.5387, allocations: 74.22 kB / 0.5162 GB, free: 82.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000142/0.5388, allocations: 95.5 kB / 0.5163 GB, free: 82.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.5388, allocations: 3.969 kB / 0.5163 GB, free: 82.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.5388, allocations: 3.953 kB / 0.5163 GB, free: 82.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.5389, allocations: 0 / 0.5163 GB, free: 82.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002329/0.5412, allocations: 1.917 MB / 0.5182 GB, free: 82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.5412, allocations: 0 / 0.5182 GB, free: 82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004501/0.5417, allocations: 121.7 kB / 0.5183 GB, free: 82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.5417, allocations: 3.812 kB / 0.5183 GB, free: 82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.053e-05/0.5417, allocations: 11.81 kB / 0.5183 GB, free: 81.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.5417, allocations: 7.531 kB / 0.5183 GB, free: 81.99 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.5417, allocations: 1.5 kB / 0.5183 GB, free: 81.99 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.5429, allocations: 1.148 MB / 0.5194 GB, free: 81.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001736/0.543, allocations: 173.3 kB / 0.5196 GB, free: 81.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.286e-05/0.5431, allocations: 14.59 kB / 0.5196 GB, free: 81.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004068/0.5436, allocations: 58.39 kB / 0.5197 GB, free: 81.29 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.5437, allocations: 33.92 kB / 0.5197 GB, free: 81.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.707e-05/0.5437, allocations: 15.31 kB / 0.5197 GB, free: 81.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005703/0.5443, allocations: 0.5719 MB / 0.5203 GB, free: 81.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5443, allocations: 3.969 kB / 0.5203 GB, free: 81.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006724/0.545, allocations: 282.8 kB / 0.5205 GB, free: 80.97 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.0001821/0.5452, allocations: 128 kB / 0.5207 GB, free: 80.87 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007742/0.5459, allocations: 0.6481 MB / 0.5213 GB, free: 80.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5459, allocations: 0 / 0.5213 GB, free: 80.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003371/0.5463, allocations: 322 kB / 0.5216 GB, free: 80.61 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006283/0.5469, allocations: 168.6 kB / 0.5218 GB, free: 80.56 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003234/0.5502, allocations: 2.726 MB / 0.5244 GB, free: 79.08 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006994/0.5509, allocations: 1.357 MB / 0.5258 GB, free: 78.26 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004808/0.5514, allocations: 208.5 kB / 0.526 GB, free: 78.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.5515, allocations: 57.94 kB / 0.526 GB, free: 78.23 MB / 378.7 MB Notification: Performance of SimCode: time 6.22e-07/0.5515, allocations: 0 / 0.526 GB, free: 78.23 MB / 378.7 MB Notification: Performance of Templates: time 0.01274/0.5643, allocations: 8.964 MB / 0.5348 GB, free: 73.15 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches