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.001456/0.001456, allocations: 201.2 kB / 18.11 MB, free: 3.742 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.531/1.531, allocations: 226.5 MB / 245.4 MB, free: 8.238 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007475/0.0007474, allocations: 101.7 kB / 297.5 MB, free: 6.922 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002619/0.0002624, allocations: 4 kB / 358.1 MB, free: 10.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2395, allocations: 51.29 MB / 409.4 MB, free: 27.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0982/0.3378, allocations: 82.78 MB / 492.1 MB, free: 8.785 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/0.3381, allocations: 75.95 kB / 492.2 MB, free: 8.711 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05016/0.3883, allocations: 19.52 MB / 0.4997 GB, free: 5.059 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.3884, allocations: 0 / 0.4997 GB, free: 5.059 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001246/0.3885, allocations: 35.94 kB / 0.4998 GB, free: 5.023 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.004047/0.3926, allocations: 1.481 MB / 0.5012 GB, free: 3.484 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.3926, allocations: 12.03 kB / 0.5012 GB, free: 3.473 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009085/0.3935, allocations: 183.3 kB / 0.5014 GB, free: 3.293 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002311/0.3959, allocations: 0.9339 MB / 0.5023 GB, free: 2.316 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.929e-05/0.396, allocations: 86.62 kB / 0.5024 GB, free: 2.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002886/0.3963, allocations: 108.4 kB / 0.5025 GB, free: 2.125 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003051/0.3993, allocations: 1.526 MB / 0.504 GB, free: 0.5273 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.998e-05/0.3994, allocations: 192 / 0.504 GB, free: 0.5273 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001512/0.3995, allocations: 51.94 kB / 0.504 GB, free: 488 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.722e-05/0.3996, allocations: 28 kB / 0.5041 GB, free: 460 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1941/0.5937, allocations: 1.218 MB / 0.5053 GB, free: 87.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007677/0.6014, allocations: 4.301 MB / 0.5095 GB, free: 86.9 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.6027, allocations: 1.319 MB / 0.5107 GB, free: 86.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008365/0.6035, allocations: 471.7 kB / 0.5112 GB, free: 86.01 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.649e-05/0.6036, allocations: 7.875 kB / 0.5112 GB, free: 86.01 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.6036, allocations: 44.5 kB / 0.5112 GB, free: 85.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=51): time 2.224e-06/0.6036, allocations: 2.531 kB / 0.5113 GB, free: 85.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=51): time 0.001454/0.6051, allocations: 0.8754 MB / 0.5121 GB, free: 85.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.6052, allocations: 59.38 kB / 0.5122 GB, free: 85.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009433/0.6061, allocations: 0.7995 MB / 0.5129 GB, free: 85.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.274e-05/0.6062, allocations: 37.17 kB / 0.513 GB, free: 85.67 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003814/0.6066, allocations: 0.5482 MB / 0.5135 GB, free: 85.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.6067, allocations: 175 kB / 0.5137 GB, free: 85.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.624e-05/0.6067, allocations: 14.22 kB / 0.5137 GB, free: 85.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.6069, allocations: 382.7 kB / 0.5141 GB, free: 85.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004151/0.6073, allocations: 307.5 kB / 0.5144 GB, free: 85.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004083/0.6077, allocations: 393.1 kB / 0.5147 GB, free: 84.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008097/0.6086, allocations: 0.6908 MB / 0.5154 GB, free: 84.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.6086, allocations: 0 / 0.5154 GB, free: 84.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001041/0.6096, allocations: 0.8252 MB / 0.5162 GB, free: 84.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.6097, allocations: 9.266 kB / 0.5162 GB, free: 84.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.6097, allocations: 6.859 kB / 0.5162 GB, free: 84.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.6097, allocations: 3.938 kB / 0.5162 GB, free: 84.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005651/0.6103, allocations: 148.3 kB / 0.5164 GB, free: 84.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.6103, allocations: 10.89 kB / 0.5164 GB, free: 84.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003888/0.6107, allocations: 57.64 kB / 0.5164 GB, free: 84.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.31e-05/0.6107, allocations: 22.86 kB / 0.5165 GB, free: 84.3 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.000635/0.6114, allocations: 459.7 kB / 0.5169 GB, free: 84.06 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.571e-05/0.6115, allocations: 82.25 kB / 0.517 GB, free: 84.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001415/0.6116, allocations: 92.28 kB / 0.5171 GB, free: 83.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.6116, allocations: 3.75 kB / 0.5171 GB, free: 83.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.974e-06/0.6116, allocations: 0 / 0.5171 GB, free: 83.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.6117, allocations: 7.125 kB / 0.5171 GB, free: 83.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002356/0.614, allocations: 1.921 MB / 0.5189 GB, free: 83.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.614, allocations: 3.906 kB / 0.519 GB, free: 83.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004401/0.6145, allocations: 122.4 kB / 0.5191 GB, free: 83.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.6145, allocations: 7.625 kB / 0.5191 GB, free: 83.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-05/0.6145, allocations: 14.25 kB / 0.5191 GB, free: 83.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.6145, allocations: 7 kB / 0.5191 GB, free: 83.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.6146, allocations: 3.281 kB / 0.5191 GB, free: 83.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.6157, allocations: 1.108 MB / 0.5202 GB, free: 82.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.6159, allocations: 169.7 kB / 0.5203 GB, free: 82.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.468e-05/0.6159, allocations: 15.44 kB / 0.5204 GB, free: 82.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003501/0.6163, allocations: 49.09 kB / 0.5204 GB, free: 82.45 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.995e-05/0.6164, allocations: 37.88 kB / 0.5204 GB, free: 82.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.449e-05/0.6164, allocations: 15.19 kB / 0.5205 GB, free: 82.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005255/0.6169, allocations: 0.5786 MB / 0.521 GB, free: 82.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6169, allocations: 0 / 0.521 GB, free: 82.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005617/0.6175, allocations: 288.5 kB / 0.5213 GB, free: 82.13 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.0001453/0.6177, allocations: 112.9 kB / 0.5214 GB, free: 82.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007667/0.6184, allocations: 0.6518 MB / 0.522 GB, free: 81.85 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.6185, allocations: 0 / 0.522 GB, free: 81.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003348/0.6188, allocations: 323.3 kB / 0.5223 GB, free: 81.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008431/0.6196, allocations: 174 kB / 0.5225 GB, free: 81.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00282/0.6225, allocations: 2.727 MB / 0.5252 GB, free: 80.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006448/0.6231, allocations: 1.339 MB / 0.5265 GB, free: 79.41 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004525/0.6236, allocations: 206.6 kB / 0.5267 GB, free: 79.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.6237, allocations: 51.66 kB / 0.5267 GB, free: 79.39 MB / 378.7 MB Notification: Performance of SimCode: time 4.41e-07/0.6237, allocations: 0 / 0.5267 GB, free: 79.39 MB / 378.7 MB Notification: Performance of Templates: time 0.01359/0.6373, allocations: 9.101 MB / 0.5356 GB, free: 73.75 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/jenkins1/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