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.001066/0.001066, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.317/1.317, allocations: 225.6 MB / 234.8 MB, free: 3.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007981/0.0007981, allocations: 93.81 kB / 286.7 MB, free: 5.301 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.117e-05/1.121e-05, allocations: 0 / 343.7 MB, free: 8.277 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08458/0.0846, allocations: 51.47 MB / 395.2 MB, free: 4.762 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2857/0.3703, allocations: 82.12 MB / 477.3 MB, free: 10.62 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000226/0.3706, allocations: 74.33 kB / 477.3 MB, free: 10.59 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0616/0.4322, allocations: 19.36 MB / 496.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4322, allocations: 0 / 496.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.872e-05/0.4323, allocations: 24 kB / 496.7 MB, free: 10.92 MB / 362.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.003166/0.4355, allocations: 1.361 MB / 498.1 MB, free: 9.594 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.4356, allocations: 8.031 kB / 498.1 MB, free: 9.586 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008321/0.4364, allocations: 190.3 kB / 498.3 MB, free: 9.398 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002053/0.4385, allocations: 0.9017 MB / 499.2 MB, free: 8.625 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.069e-05/0.4386, allocations: 43.14 kB / 499.2 MB, free: 8.586 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002132/0.4388, allocations: 68 kB / 499.3 MB, free: 8.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00243/0.4412, allocations: 1.106 MB / 0.4887 GB, free: 7.836 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002863/0.4441, allocations: 1.309 MB / 0.4899 GB, free: 6.855 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.136e-05/0.4441, allocations: 3.984 kB / 0.4899 GB, free: 6.852 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/0.4443, allocations: 4 kB / 0.49 GB, free: 6.848 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.471e-05/0.4443, allocations: 28 kB / 0.49 GB, free: 6.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008493/0.4528, allocations: 4.084 MB / 0.494 GB, free: 3.535 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001373/0.4542, allocations: 1.273 MB / 0.4952 GB, free: 2.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008177/0.4551, allocations: 433.1 kB / 0.4956 GB, free: 1.664 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.598e-05/0.4551, allocations: 8.438 kB / 0.4956 GB, free: 1.656 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.4552, allocations: 39 kB / 0.4957 GB, free: 1.609 MB / 362.7 MB Notification: Performance of pre-optimization done (n=51): time 3.046e-06/0.4552, allocations: 0 / 0.4957 GB, free: 1.609 MB / 362.7 MB Notification: Performance of matching and sorting (n=51): time 0.001249/0.4564, allocations: 0.5538 MB / 0.4962 GB, free: 1.051 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.4565, allocations: 59.84 kB / 0.4963 GB, free: 0.9805 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.4576, allocations: 0.675 MB / 0.4969 GB, free: 308 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.674e-05/0.4577, allocations: 25.7 kB / 0.497 GB, free: 276 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004761/0.4582, allocations: 0.5416 MB / 0.4975 GB, free: 15.71 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001704/0.4584, allocations: 177.4 kB / 0.4976 GB, free: 15.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/0.4584, allocations: 3.938 kB / 0.4977 GB, free: 15.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001975/0.4586, allocations: 386.5 kB / 0.498 GB, free: 15.15 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005131/0.4591, allocations: 265 kB / 0.4983 GB, free: 14.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005908/0.4597, allocations: 357.5 kB / 0.4986 GB, free: 14.51 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006128/0.4604, allocations: 329.9 kB / 0.4989 GB, free: 14.19 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.4604, allocations: 7.938 kB / 0.4989 GB, free: 14.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001423/0.4618, allocations: 0.7205 MB / 0.4996 GB, free: 13.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.4618, allocations: 8 kB / 0.4996 GB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.4619, allocations: 0 / 0.4996 GB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.4619, allocations: 8.281 kB / 0.4997 GB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008835/0.4628, allocations: 151.8 kB / 0.4998 GB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.4628, allocations: 4 kB / 0.4998 GB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005573/0.4634, allocations: 51.5 kB / 0.4999 GB, free: 13.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.557e-05/0.4634, allocations: 20 kB / 0.4999 GB, free: 13.22 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 () * 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.0001415/0.4636, allocations: 114.7 kB / 0.5 GB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00016/0.4638, allocations: 75.16 kB / 0.5001 GB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002297/0.464, allocations: 86.61 kB / 0.5001 GB, free: 12.94 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.464, allocations: 4 kB / 0.5001 GB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.464, allocations: 3.984 kB / 0.5001 GB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.464, allocations: 0 / 0.5001 GB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003348/0.4674, allocations: 1.681 MB / 0.5018 GB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.4674, allocations: 0 / 0.5018 GB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007356/0.4682, allocations: 124 kB / 0.5019 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/0.4682, allocations: 4 kB / 0.5019 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.223e-05/0.4682, allocations: 11.95 kB / 0.5019 GB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.68e-06/0.4683, allocations: 3.938 kB / 0.5019 GB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.4683, allocations: 4 kB / 0.5019 GB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001709/0.47, allocations: 1.041 MB / 0.5029 GB, free: 9.957 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002209/0.4702, allocations: 168.2 kB / 0.5031 GB, free: 9.773 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.4704, allocations: 0 / 0.5031 GB, free: 9.773 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006031/0.471, allocations: 47.95 kB / 0.5032 GB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.4711, allocations: 40.31 kB / 0.5032 GB, free: 9.688 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.612e-05/0.4711, allocations: 19.94 kB / 0.5032 GB, free: 9.668 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008577/0.472, allocations: 0.5186 MB / 0.5037 GB, free: 9.156 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.472, allocations: 3.562 kB / 0.5037 GB, free: 9.156 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009871/0.473, allocations: 266.8 kB / 0.504 GB, free: 8.895 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 () * 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.0001862/0.4732, allocations: 115.1 kB / 0.5041 GB, free: 8.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001149/0.4744, allocations: 0.5815 MB / 0.5046 GB, free: 8.184 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4744, allocations: 0 / 0.5046 GB, free: 8.184 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005435/0.4749, allocations: 289.4 kB / 0.5049 GB, free: 7.902 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.476, allocations: 143.8 kB / 0.5051 GB, free: 7.766 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004138/0.4801, allocations: 1.81 MB / 0.5068 GB, free: 5.918 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001261/0.4814, allocations: 1.362 MB / 0.5082 GB, free: 4.527 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007634/0.4822, allocations: 205.5 kB / 0.5084 GB, free: 4.324 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002123/0.4824, allocations: 51.44 kB / 0.5084 GB, free: 4.273 MB / 378.7 MB Notification: Performance of SimCode: time 5.01e-07/0.4824, allocations: 0 / 0.5084 GB, free: 4.273 MB / 378.7 MB Notification: Performance of Templates: time 0.02035/0.5028, allocations: 7.716 MB / 0.5159 GB, free: 12.72 MB / 394.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