Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.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.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001227/0.001228, allocations: 201.2 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.234/1.234, allocations: 227.2 MB / 245 MB, free: 5.879 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009204/0.0009204, allocations: 98.05 kB / 297.3 MB, free: 5.977 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002418/0.0002421, allocations: 8 kB / 357.9 MB, free: 9.328 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.2149, allocations: 51.49 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09344/0.3084, allocations: 82.59 MB / 492 MB, free: 8.004 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000216/0.3086, allocations: 75.97 kB / 492.1 MB, free: 7.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04509/0.3537, allocations: 19.02 MB / 0.4991 GB, free: 4.773 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3538, allocations: 0 / 0.4991 GB, free: 4.773 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.424e-05/0.3539, allocations: 31.94 kB / 0.4992 GB, free: 4.742 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.002922/0.3568, allocations: 1.473 MB / 0.5006 GB, free: 3.215 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.3568, allocations: 8.031 kB / 0.5006 GB, free: 3.207 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006051/0.3575, allocations: 174.3 kB / 0.5008 GB, free: 3.035 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001626/0.3591, allocations: 0.8574 MB / 0.5016 GB, free: 2.133 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.772e-05/0.3592, allocations: 82.17 kB / 0.5017 GB, free: 2.051 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001849/0.3594, allocations: 108 kB / 0.5018 GB, free: 1.945 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002256/0.3616, allocations: 1.489 MB / 0.5032 GB, free: 396 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.3617, allocations: 0 / 0.5032 GB, free: 396 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/0.3618, allocations: 44 kB / 0.5033 GB, free: 352 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.997e-05/0.3618, allocations: 28 kB / 0.5033 GB, free: 324 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1833/0.5451, allocations: 1.224 MB / 0.5045 GB, free: 87.71 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00952/0.5547, allocations: 4.25 MB / 0.5087 GB, free: 86.74 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.5558, allocations: 1.316 MB / 0.5099 GB, free: 85.87 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.676e-05/0.5559, allocations: 8.828 kB / 0.5099 GB, free: 85.87 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.5559, allocations: 41.38 kB / 0.51 GB, free: 85.83 MB / 378.7 MB Notification: Performance of pre-optimization done (n=49): time 2.675e-06/0.5559, allocations: 0.5312 kB / 0.51 GB, free: 85.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=50): time 0.003166/0.5591, allocations: 1.971 MB / 0.5119 GB, free: 85.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.5591, allocations: 55.81 kB / 0.512 GB, free: 85.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007005/0.5599, allocations: 0.7358 MB / 0.5127 GB, free: 85.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.5599, allocations: 35.89 kB / 0.5127 GB, free: 85.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002373/0.5601, allocations: 0.5424 MB / 0.5132 GB, free: 84.92 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.95e-05/0.5602, allocations: 171.3 kB / 0.5134 GB, free: 84.81 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.391e-05/0.5603, allocations: 17.44 kB / 0.5134 GB, free: 84.81 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.957e-05/0.5604, allocations: 383.3 kB / 0.5138 GB, free: 84.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003595/0.5607, allocations: 312.3 kB / 0.5141 GB, free: 84.4 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004103/0.5611, allocations: 413.3 kB / 0.5145 GB, free: 84.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004065/0.5616, allocations: 366.5 kB / 0.5148 GB, free: 84.08 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5616, allocations: 10.03 kB / 0.5148 GB, free: 84.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001037/0.5626, allocations: 0.9241 MB / 0.5157 GB, free: 83.74 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.5626, allocations: 5.906 kB / 0.5158 GB, free: 83.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.5627, allocations: 3.406 kB / 0.5158 GB, free: 83.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002231/0.5629, allocations: 107.5 kB / 0.5159 GB, free: 83.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000474/0.5634, allocations: 134.5 kB / 0.516 GB, free: 83.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001585/0.565, allocations: 2.194 MB / 0.5181 GB, free: 81.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003224/0.5653, allocations: 33.05 kB / 0.5182 GB, free: 81.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.272e-05/0.5653, allocations: 18.56 kB / 0.5182 GB, free: 81.96 MB / 378.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 (59): * Single equations (assignments): 58 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004761/0.5658, allocations: 453.3 kB / 0.5186 GB, free: 81.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.552e-05/0.5659, allocations: 69.97 kB / 0.5187 GB, free: 81.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001316/0.5661, allocations: 93.69 kB / 0.5188 GB, free: 81.63 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.5661, allocations: 3.75 kB / 0.5188 GB, free: 81.63 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.5661, allocations: 7.484 kB / 0.5188 GB, free: 81.63 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.5661, allocations: 7.297 kB / 0.5188 GB, free: 81.63 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002399/0.5685, allocations: 2.01 MB / 0.5207 GB, free: 80.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.5685, allocations: 3.656 kB / 0.5208 GB, free: 80.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003329/0.5688, allocations: 85.3 kB / 0.5208 GB, free: 80.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001976/0.5691, allocations: 102.1 kB / 0.5209 GB, free: 80.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.935e-05/0.5691, allocations: 15.25 kB / 0.5209 GB, free: 80.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001404/0.5705, allocations: 2.155 MB / 0.523 GB, free: 79 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.5705, allocations: 3.953 kB / 0.5231 GB, free: 79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/0.5718, allocations: 1.232 MB / 0.5243 GB, free: 78.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/0.5719, allocations: 163.3 kB / 0.5244 GB, free: 78.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.375e-05/0.572, allocations: 19.12 kB / 0.5244 GB, free: 78.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003472/0.5724, allocations: 47.98 kB / 0.5245 GB, free: 78.28 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.395e-05/0.5725, allocations: 36.88 kB / 0.5245 GB, free: 78.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.771e-05/0.5725, allocations: 16.3 kB / 0.5245 GB, free: 78.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005642/0.5731, allocations: 0.5808 MB / 0.5251 GB, free: 78.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5731, allocations: 0 / 0.5251 GB, free: 78.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006164/0.5737, allocations: 210.4 kB / 0.5253 GB, free: 78.02 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (41): * Single equations (assignments): 40 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001269/0.5738, allocations: 123.6 kB / 0.5254 GB, free: 77.92 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.5749, allocations: 0.8406 MB / 0.5262 GB, free: 77.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5749, allocations: 0 / 0.5262 GB, free: 77.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005575/0.5754, allocations: 480.5 kB / 0.5267 GB, free: 77.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006019/0.5761, allocations: 168.9 kB / 0.5269 GB, free: 77.31 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00251/0.5786, allocations: 2.601 MB / 0.5294 GB, free: 75.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005805/0.5792, allocations: 1.358 MB / 0.5307 GB, free: 75.05 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003698/0.5795, allocations: 190 kB / 0.5309 GB, free: 75.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.5797, allocations: 51.44 kB / 0.531 GB, free: 74.98 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.5797, allocations: 0 / 0.531 GB, free: 74.98 MB / 378.7 MB Notification: Performance of Templates: time 0.01253/0.5922, allocations: 9.589 MB / 0.5403 GB, free: 67.3 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches