Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001161/0.001161, allocations: 195.3 kB / 18.06 MB, free: 3.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.254/1.254, allocations: 226.5 MB / 245.4 MB, free: 8.207 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007348/0.0007347, allocations: 96.72 kB / 297.4 MB, free: 6.859 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002265/0.0002265, allocations: 8 kB / 357.4 MB, free: 10.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.1974, allocations: 51.29 MB / 408.7 MB, free: 27.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09541/0.2929, allocations: 82.77 MB / 491.4 MB, free: 8.793 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/0.2932, allocations: 75.95 kB / 491.5 MB, free: 8.719 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04934/0.3425, allocations: 19.52 MB / 0.499 GB, free: 5.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3426, allocations: 0 / 0.499 GB, free: 5.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001021/0.3427, allocations: 27.94 kB / 0.4991 GB, free: 5.043 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.003188/0.3459, allocations: 1.489 MB / 0.5005 GB, free: 3.496 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.3459, allocations: 8.031 kB / 0.5005 GB, free: 3.488 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007269/0.3467, allocations: 179.3 kB / 0.5007 GB, free: 3.312 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001787/0.3485, allocations: 0.9417 MB / 0.5016 GB, free: 2.328 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.773e-05/0.3486, allocations: 82.62 kB / 0.5017 GB, free: 2.246 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002174/0.3488, allocations: 120.3 kB / 0.5018 GB, free: 2.129 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002463/0.3513, allocations: 1.514 MB / 0.5033 GB, free: 0.543 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/0.3513, allocations: 192 / 0.5033 GB, free: 0.543 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/0.3514, allocations: 51.94 kB / 0.5033 GB, free: 0.4922 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.286e-05/0.3514, allocations: 35.98 kB / 0.5034 GB, free: 468 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1585/0.51, allocations: 1.218 MB / 0.5046 GB, free: 87.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00616/0.5162, allocations: 4.299 MB / 0.5088 GB, free: 86.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.5172, allocations: 1.323 MB / 0.5101 GB, free: 86.01 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000748/0.518, allocations: 471.2 kB / 0.5105 GB, free: 86 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.626e-05/0.5181, allocations: 8.953 kB / 0.5105 GB, free: 86 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.5181, allocations: 40.62 kB / 0.5106 GB, free: 85.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=51): time 2.335e-06/0.5181, allocations: 0 / 0.5106 GB, free: 85.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=51): time 0.001368/0.5195, allocations: 0.8793 MB / 0.5114 GB, free: 85.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.5195, allocations: 55 kB / 0.5115 GB, free: 85.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008443/0.5204, allocations: 0.8036 MB / 0.5123 GB, free: 85.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.897e-05/0.5204, allocations: 36.48 kB / 0.5123 GB, free: 85.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002423/0.5207, allocations: 0.5473 MB / 0.5128 GB, free: 85.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.142e-05/0.5208, allocations: 175.6 kB / 0.513 GB, free: 85.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.508e-05/0.5208, allocations: 9.125 kB / 0.513 GB, free: 85.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.52e-05/0.5209, allocations: 383 kB / 0.5134 GB, free: 85.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003653/0.5213, allocations: 309.4 kB / 0.5137 GB, free: 85.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003855/0.5216, allocations: 388.5 kB / 0.514 GB, free: 84.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007263/0.5224, allocations: 0.6959 MB / 0.5147 GB, free: 84.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5224, allocations: 0 / 0.5147 GB, free: 84.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009633/0.5234, allocations: 0.8308 MB / 0.5155 GB, free: 84.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.5234, allocations: 5.984 kB / 0.5155 GB, free: 84.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.5234, allocations: 3.969 kB / 0.5155 GB, free: 84.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.5234, allocations: 3.719 kB / 0.5155 GB, free: 84.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005455/0.524, allocations: 147 kB / 0.5157 GB, free: 84.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.524, allocations: 11.23 kB / 0.5157 GB, free: 84.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003854/0.5244, allocations: 62.44 kB / 0.5157 GB, free: 84.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.952e-05/0.5244, allocations: 21.64 kB / 0.5158 GB, free: 84.32 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.000659/0.5251, allocations: 463.4 kB / 0.5162 GB, free: 84.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.5252, allocations: 78.66 kB / 0.5163 GB, free: 84.03 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001529/0.5254, allocations: 87.09 kB / 0.5164 GB, free: 83.97 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.5254, allocations: 5.719 kB / 0.5164 GB, free: 83.97 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.5254, allocations: 0 / 0.5164 GB, free: 83.97 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.5254, allocations: 8.891 kB / 0.5164 GB, free: 83.97 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002273/0.5277, allocations: 1.922 MB / 0.5183 GB, free: 83.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.5277, allocations: 3.781 kB / 0.5183 GB, free: 83.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000429/0.5281, allocations: 120 kB / 0.5184 GB, free: 83.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.5282, allocations: 11.56 kB / 0.5184 GB, free: 83.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.117e-05/0.5282, allocations: 15.5 kB / 0.5184 GB, free: 83.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.5282, allocations: 3.906 kB / 0.5184 GB, free: 83.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5282, allocations: 3.281 kB / 0.5184 GB, free: 83.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.5293, allocations: 1.107 MB / 0.5195 GB, free: 82.63 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001462/0.5295, allocations: 172.5 kB / 0.5196 GB, free: 82.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.809e-05/0.5296, allocations: 17.03 kB / 0.5197 GB, free: 82.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003729/0.53, allocations: 51.86 kB / 0.5197 GB, free: 82.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.577e-05/0.5301, allocations: 40.25 kB / 0.5198 GB, free: 82.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.727e-05/0.5301, allocations: 13.41 kB / 0.5198 GB, free: 82.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005628/0.5307, allocations: 0.5745 MB / 0.5203 GB, free: 82.22 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5307, allocations: 3.531 kB / 0.5203 GB, free: 82.22 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005849/0.5313, allocations: 286.3 kB / 0.5206 GB, free: 82.14 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.0001316/0.5314, allocations: 117.8 kB / 0.5207 GB, free: 82.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007968/0.5322, allocations: 0.6496 MB / 0.5214 GB, free: 81.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.5322, allocations: 0 / 0.5214 GB, free: 81.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003516/0.5326, allocations: 323.7 kB / 0.5217 GB, free: 81.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008175/0.5334, allocations: 169 kB / 0.5218 GB, free: 81.72 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00287/0.5363, allocations: 2.733 MB / 0.5245 GB, free: 80.22 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005807/0.5369, allocations: 1.318 MB / 0.5258 GB, free: 79.39 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001803/0.5371, allocations: 56.19 kB / 0.5258 GB, free: 79.39 MB / 378.7 MB Notification: Performance of SimCode: time 6.61e-07/0.5371, allocations: 0 / 0.5258 GB, free: 79.39 MB / 378.7 MB Notification: Performance of Templates: time 0.01477/0.5518, allocations: 13.09 MB / 0.5386 GB, free: 69.86 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYD --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches