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.001544/0.001544, allocations: 180.6 kB / 16.39 MB, free: 5.762 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.566/1.566, allocations: 223.2 MB / 240.3 MB, free: 10.14 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.001067/0.001067, allocations: 88.42 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003167/0.000317, allocations: 7.938 kB / 351.1 MB, free: 15.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.341, allocations: 50.41 MB / 401.5 MB, free: 32.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1321/0.4731, allocations: 82.04 MB / 483.5 MB, free: 14.4 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003084/0.4735, allocations: 71.97 kB / 483.6 MB, free: 14.33 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06382/0.5373, allocations: 19.41 MB / 0.4912 GB, free: 10.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.945e-06/0.5374, allocations: 0 / 0.4912 GB, free: 10.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.367e-05/0.5375, allocations: 31.94 kB / 0.4913 GB, free: 10.75 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.003665/0.5412, allocations: 1.489 MB / 0.4927 GB, free: 9.211 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.5412, allocations: 8.031 kB / 0.4927 GB, free: 9.203 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003258/0.5416, allocations: 146.4 kB / 0.4929 GB, free: 9.059 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00223/0.5438, allocations: 0.9058 MB / 0.4937 GB, free: 8.109 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.517e-05/0.5439, allocations: 82.25 kB / 0.4938 GB, free: 8.027 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002222/0.5441, allocations: 112 kB / 0.4939 GB, free: 7.918 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003189/0.5473, allocations: 1.506 MB / 0.4954 GB, free: 6.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.905e-05/0.5474, allocations: 8.281 kB / 0.4954 GB, free: 6.332 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001515/0.5476, allocations: 59.92 kB / 0.4955 GB, free: 6.273 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.686e-05/0.5476, allocations: 32 kB / 0.4955 GB, free: 6.242 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002701/0.5503, allocations: 1.211 MB / 0.4967 GB, free: 5.023 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008944/0.5593, allocations: 4.303 MB / 0.5009 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1958/0.7551, allocations: 1.308 MB / 0.5022 GB, free: 91.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.551e-05/0.7553, allocations: 5.484 kB / 0.5022 GB, free: 91.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.145e-05/0.7553, allocations: 39.69 kB / 0.5022 GB, free: 91.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=51): time 4.439e-06/0.7553, allocations: 0 / 0.5022 GB, free: 91.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=51): time 0.002274/0.7576, allocations: 0.8811 MB / 0.5031 GB, free: 91.19 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.7577, allocations: 57.72 kB / 0.5031 GB, free: 91.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/0.759, allocations: 0.7279 MB / 0.5038 GB, free: 91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.746e-05/0.759, allocations: 34.64 kB / 0.5039 GB, free: 90.97 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004105/0.7594, allocations: 0.5491 MB / 0.5044 GB, free: 90.79 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/0.7596, allocations: 176.3 kB / 0.5046 GB, free: 90.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.821e-05/0.7596, allocations: 14.38 kB / 0.5046 GB, free: 90.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.7598, allocations: 383.5 kB / 0.5049 GB, free: 90.39 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004814/0.7603, allocations: 304.2 kB / 0.5052 GB, free: 90.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005989/0.7609, allocations: 392.3 kB / 0.5056 GB, free: 90.31 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005465/0.7615, allocations: 365.8 kB / 0.506 GB, free: 90.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.7615, allocations: 1.781 kB / 0.506 GB, free: 90.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00138/0.7629, allocations: 0.8245 MB / 0.5068 GB, free: 90.22 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.156e-05/0.7629, allocations: 11.91 kB / 0.5068 GB, free: 90.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.7629, allocations: 5.922 kB / 0.5068 GB, free: 90.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-05/0.7629, allocations: 5.25 kB / 0.5068 GB, free: 90.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006303/0.7636, allocations: 154.9 kB / 0.5069 GB, free: 90.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.7636, allocations: 3.5 kB / 0.5069 GB, free: 90.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003882/0.764, allocations: 66.64 kB / 0.507 GB, free: 90.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.35e-05/0.764, allocations: 19.06 kB / 0.507 GB, free: 90.21 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.0005742/0.7646, allocations: 458.8 kB / 0.5075 GB, free: 90.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.224e-05/0.7647, allocations: 80.36 kB / 0.5075 GB, free: 90.06 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001526/0.7649, allocations: 90.28 kB / 0.5076 GB, free: 90.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.7649, allocations: 7.719 kB / 0.5076 GB, free: 90.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/0.7649, allocations: 0 / 0.5076 GB, free: 90.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.7649, allocations: 7.641 kB / 0.5076 GB, free: 90.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002474/0.7674, allocations: 1.927 MB / 0.5095 GB, free: 89.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.7674, allocations: 0 / 0.5095 GB, free: 89.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004544/0.7679, allocations: 118.9 kB / 0.5096 GB, free: 89.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.7679, allocations: 0 / 0.5096 GB, free: 89.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.138e-05/0.7679, allocations: 17.17 kB / 0.5096 GB, free: 89.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.7679, allocations: 7.516 kB / 0.5096 GB, free: 89.69 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.7679, allocations: 0 / 0.5096 GB, free: 89.69 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.7692, allocations: 1.144 MB / 0.5108 GB, free: 89.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001752/0.7693, allocations: 172.7 kB / 0.5109 GB, free: 89.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.978e-05/0.7694, allocations: 13.16 kB / 0.5109 GB, free: 89.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003656/0.7698, allocations: 57.23 kB / 0.511 GB, free: 89.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.278e-05/0.7699, allocations: 37.44 kB / 0.511 GB, free: 89.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.073e-05/0.7699, allocations: 14.12 kB / 0.511 GB, free: 89.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006317/0.7706, allocations: 0.5769 MB / 0.5116 GB, free: 89.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7706, allocations: 0 / 0.5116 GB, free: 89.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007074/0.7713, allocations: 283.2 kB / 0.5119 GB, free: 89.16 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.0001628/0.7715, allocations: 121.8 kB / 0.512 GB, free: 89.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008585/0.7723, allocations: 0.6426 MB / 0.5126 GB, free: 89.06 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.7723, allocations: 0 / 0.5126 GB, free: 89.06 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003822/0.7727, allocations: 321.8 kB / 0.5129 GB, free: 88.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006736/0.7734, allocations: 176 kB / 0.5131 GB, free: 88.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00314/0.7766, allocations: 2.723 MB / 0.5158 GB, free: 87.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006559/0.7772, allocations: 1.362 MB / 0.5171 GB, free: 86.69 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004543/0.7777, allocations: 211.9 kB / 0.5173 GB, free: 86.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.7778, allocations: 51.69 kB / 0.5173 GB, free: 86.67 MB / 378.7 MB Notification: Performance of SimCode: time 4.81e-07/0.7778, allocations: 0 / 0.5173 GB, free: 86.67 MB / 378.7 MB Notification: Performance of Templates: time 0.01388/0.7917, allocations: 8.976 MB / 0.5261 GB, free: 84.62 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/jenkins/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