Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000921/0.0009207, allocations: 199.2 kB / 18.07 MB, free: 3.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.265/1.265, allocations: 226.5 MB / 245.4 MB, free: 8.195 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007083/0.0007087, allocations: 104.7 kB / 297.4 MB, free: 6.887 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002131/0.0002132, allocations: 4 kB / 357.4 MB, free: 10.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.1928, allocations: 51.29 MB / 408.7 MB, free: 27.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09006/0.2829, allocations: 82.53 MB / 491.2 MB, free: 9.078 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/0.2832, allocations: 75.97 kB / 491.3 MB, free: 9.004 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04747/0.3307, allocations: 19.04 MB / 0.4983 GB, free: 5.836 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3307, allocations: 0 / 0.4983 GB, free: 5.836 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001107/0.3309, allocations: 31.94 kB / 0.4984 GB, free: 5.805 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.003127/0.334, allocations: 1.457 MB / 0.4998 GB, free: 4.289 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.3341, allocations: 8.031 kB / 0.4998 GB, free: 4.281 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007146/0.3348, allocations: 179.2 kB / 0.5 GB, free: 4.105 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001609/0.3364, allocations: 0.8773 MB / 0.5008 GB, free: 3.188 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.219e-05/0.3365, allocations: 82.59 kB / 0.5009 GB, free: 3.105 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002281/0.3367, allocations: 112.3 kB / 0.501 GB, free: 2.996 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002761/0.3395, allocations: 1.493 MB / 0.5025 GB, free: 1.434 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.465e-05/0.3395, allocations: 192 / 0.5025 GB, free: 1.434 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001289/0.3397, allocations: 51.94 kB / 0.5025 GB, free: 1.383 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.275e-05/0.3397, allocations: 28 kB / 0.5025 GB, free: 1.355 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002193/0.3419, allocations: 1.227 MB / 0.5037 GB, free: 124 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1962/0.5381, allocations: 4.247 MB / 0.5079 GB, free: 87.15 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.5392, allocations: 1.318 MB / 0.5092 GB, free: 86.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000835/0.54, allocations: 460.8 kB / 0.5096 GB, free: 86.26 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.447e-05/0.5401, allocations: 6.984 kB / 0.5096 GB, free: 86.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.5401, allocations: 47.28 kB / 0.5097 GB, free: 86.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=49): time 2.344e-06/0.5401, allocations: 0.5312 kB / 0.5097 GB, free: 86.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=51): time 0.003145/0.5433, allocations: 1.956 MB / 0.5116 GB, free: 85.76 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.5433, allocations: 59.47 kB / 0.5116 GB, free: 85.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008254/0.5442, allocations: 0.8173 MB / 0.5124 GB, free: 85.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.537e-05/0.5442, allocations: 31.52 kB / 0.5125 GB, free: 85.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002597/0.5445, allocations: 0.5453 MB / 0.513 GB, free: 85.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.298e-05/0.5446, allocations: 172.5 kB / 0.5132 GB, free: 85.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.839e-05/0.5446, allocations: 13.59 kB / 0.5132 GB, free: 85.18 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.657e-05/0.5447, allocations: 381.1 kB / 0.5135 GB, free: 84.87 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000379/0.5451, allocations: 310.7 kB / 0.5138 GB, free: 84.87 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004049/0.5455, allocations: 401.5 kB / 0.5142 GB, free: 84.78 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007869/0.5463, allocations: 0.7076 MB / 0.5149 GB, free: 84.51 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5463, allocations: 3.656 kB / 0.5149 GB, free: 84.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001155/0.5475, allocations: 0.916 MB / 0.5158 GB, free: 84.17 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.5475, allocations: 6.656 kB / 0.5158 GB, free: 84.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.5475, allocations: 3.75 kB / 0.5158 GB, free: 84.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002544/0.5478, allocations: 112.5 kB / 0.5159 GB, free: 84.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004784/0.5483, allocations: 124.9 kB / 0.516 GB, free: 84.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001578/0.5499, allocations: 2.184 MB / 0.5182 GB, free: 82.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003698/0.5503, allocations: 30.75 kB / 0.5182 GB, free: 82.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.468e-05/0.5503, allocations: 21.11 kB / 0.5182 GB, free: 82.39 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 (60): * Single equations (assignments): 59 * 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.0005612/0.5509, allocations: 454.4 kB / 0.5187 GB, free: 82.15 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.484e-05/0.551, allocations: 81.91 kB / 0.5187 GB, free: 82.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001341/0.5511, allocations: 96.62 kB / 0.5188 GB, free: 82.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.5511, allocations: 3.969 kB / 0.5188 GB, free: 82.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.5511, allocations: 0 / 0.5188 GB, free: 82.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.5511, allocations: 11.11 kB / 0.5188 GB, free: 82.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002527/0.5537, allocations: 2.026 MB / 0.5208 GB, free: 81.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.5537, allocations: 0 / 0.5208 GB, free: 81.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003302/0.554, allocations: 97.73 kB / 0.5209 GB, free: 81.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002511/0.5543, allocations: 101.3 kB / 0.521 GB, free: 81.13 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.31e-05/0.5543, allocations: 18.84 kB / 0.521 GB, free: 81.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001483/0.5558, allocations: 2.117 MB / 0.5231 GB, free: 79.42 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.5559, allocations: 3.625 kB / 0.5231 GB, free: 79.42 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001354/0.5572, allocations: 1.217 MB / 0.5243 GB, free: 78.86 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001729/0.5574, allocations: 160.4 kB / 0.5244 GB, free: 78.72 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.639e-05/0.5575, allocations: 25.34 kB / 0.5245 GB, free: 78.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003644/0.5579, allocations: 50.22 kB / 0.5245 GB, free: 78.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.976e-05/0.558, allocations: 44.02 kB / 0.5246 GB, free: 78.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.027e-05/0.558, allocations: 19.31 kB / 0.5246 GB, free: 78.69 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006676/0.5587, allocations: 0.5821 MB / 0.5251 GB, free: 78.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5587, allocations: 3.969 kB / 0.5251 GB, free: 78.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000736/0.5594, allocations: 207.3 kB / 0.5253 GB, free: 78.44 MB / 378.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 (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.0001559/0.5596, allocations: 124.9 kB / 0.5255 GB, free: 78.33 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001129/0.5607, allocations: 0.8258 MB / 0.5263 GB, free: 77.99 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.5607, allocations: 0 / 0.5263 GB, free: 77.99 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000614/0.5614, allocations: 498.6 kB / 0.5267 GB, free: 77.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009181/0.5623, allocations: 175.4 kB / 0.5269 GB, free: 77.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003014/0.5653, allocations: 2.634 MB / 0.5295 GB, free: 76.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005752/0.5659, allocations: 1.313 MB / 0.5308 GB, free: 75.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.5661, allocations: 55.69 kB / 0.5308 GB, free: 75.39 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5661, allocations: 0 / 0.5308 GB, free: 75.39 MB / 378.7 MB Notification: Performance of Templates: time 0.02033/0.5864, allocations: 18.63 MB / 0.549 GB, free: 58.82 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYY --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches