Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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_Modelica.Electrical.Polyphase.Examples.TransformerYY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001472/0.001472, allocations: 203.5 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.607/1.607, allocations: 225.6 MB / 234.8 MB, free: 3.293 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008642/0.0008642, allocations: 97.56 kB / 286.7 MB, free: 5.293 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.096e-05/2.119e-05, allocations: 4 kB / 343.7 MB, free: 8.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1051, allocations: 51.48 MB / 395.2 MB, free: 4.793 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2889/0.3941, allocations: 81.86 MB / 477 MB, free: 10.82 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001627/0.3943, allocations: 75.7 kB / 477.1 MB, free: 10.8 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04033/0.4346, allocations: 18.86 MB / 496 MB, free: 11.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.4347, allocations: 0 / 496 MB, free: 11.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.899e-05/0.4348, allocations: 28 kB / 496 MB, free: 11.63 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.00215/0.4369, allocations: 1.348 MB / 497.3 MB, free: 10.31 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.437, allocations: 12.02 kB / 497.4 MB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004611/0.4374, allocations: 174.4 kB / 497.5 MB, free: 10.13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.4387, allocations: 0.8504 MB / 498.4 MB, free: 9.406 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.537e-05/0.4387, allocations: 39.95 kB / 498.4 MB, free: 9.367 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.4388, allocations: 64 kB / 498.5 MB, free: 9.305 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001512/0.4404, allocations: 1.107 MB / 499.6 MB, free: 8.617 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001821/0.4422, allocations: 1.297 MB / 0.4891 GB, free: 7.641 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.4422, allocations: 0 / 0.4891 GB, free: 7.641 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.067e-05/0.4423, allocations: 7.188 kB / 0.4891 GB, free: 7.637 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.992e-05/0.4423, allocations: 24 kB / 0.4892 GB, free: 7.613 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005328/0.4477, allocations: 4.03 MB / 0.4931 GB, free: 4.379 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009578/0.4486, allocations: 1.27 MB / 0.4943 GB, free: 2.992 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005357/0.4492, allocations: 414.6 kB / 0.4947 GB, free: 2.578 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.4492, allocations: 4.438 kB / 0.4947 GB, free: 2.574 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.4493, allocations: 42.94 kB / 0.4948 GB, free: 2.523 MB / 362.7 MB Notification: Performance of pre-optimization done (n=49): time 1.863e-06/0.4493, allocations: 4 kB / 0.4948 GB, free: 2.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=51): time 0.002164/0.4514, allocations: 1.548 MB / 0.4963 GB, free: 0.9141 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.4515, allocations: 55.84 kB / 0.4964 GB, free: 0.8477 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007484/0.4522, allocations: 0.6673 MB / 0.497 GB, free: 180 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.11e-05/0.4523, allocations: 25.7 kB / 0.497 GB, free: 148 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003363/0.4526, allocations: 0.5454 MB / 0.4976 GB, free: 15.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.4528, allocations: 169.5 kB / 0.4977 GB, free: 15.42 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.548e-05/0.4528, allocations: 0 / 0.4977 GB, free: 15.42 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.4529, allocations: 390.7 kB / 0.4981 GB, free: 15.03 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003599/0.4533, allocations: 273 kB / 0.4984 GB, free: 14.76 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003777/0.4537, allocations: 362.3 kB / 0.4987 GB, free: 14.37 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004021/0.4541, allocations: 333.9 kB / 0.499 GB, free: 14.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.4541, allocations: 11.95 kB / 0.499 GB, free: 14.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001064/0.4552, allocations: 0.8149 MB / 0.4998 GB, free: 13.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.4552, allocations: 8.312 kB / 0.4998 GB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.954e-06/0.4552, allocations: 8 kB / 0.4998 GB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002413/0.4555, allocations: 104.8 kB / 0.4999 GB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005028/0.456, allocations: 127.8 kB / 0.5001 GB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001919/0.4579, allocations: 2.083 MB / 0.5021 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003338/0.4583, allocations: 24.03 kB / 0.5021 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.654e-05/0.4583, allocations: 19.95 kB / 0.5021 GB, free: 10.73 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 () * 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.0001158/0.4584, allocations: 116.9 kB / 0.5023 GB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/0.4585, allocations: 71.16 kB / 0.5023 GB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001527/0.4587, allocations: 82.61 kB / 0.5024 GB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.4587, allocations: 8 kB / 0.5024 GB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.4587, allocations: 4 kB / 0.5024 GB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.4587, allocations: 3.984 kB / 0.5024 GB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002575/0.4613, allocations: 1.793 MB / 0.5042 GB, free: 8.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/0.4613, allocations: 13.98 kB / 0.5042 GB, free: 8.559 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003491/0.4617, allocations: 87.88 kB / 0.5043 GB, free: 8.473 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001963/0.4619, allocations: 96.8 kB / 0.5044 GB, free: 8.375 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-05/0.4619, allocations: 8.141 kB / 0.5044 GB, free: 8.367 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00174/0.4637, allocations: 2.047 MB / 0.5064 GB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4637, allocations: 0 / 0.5064 GB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.465, allocations: 1.177 MB / 0.5075 GB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/0.4652, allocations: 156.3 kB / 0.5077 GB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.109e-05/0.4653, allocations: 11.98 kB / 0.5077 GB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004014/0.4657, allocations: 43.89 kB / 0.5077 GB, free: 4.738 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.311e-05/0.4658, allocations: 44.38 kB / 0.5078 GB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-05/0.4658, allocations: 16 kB / 0.5078 GB, free: 4.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005793/0.4664, allocations: 0.5186 MB / 0.5083 GB, free: 4.168 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4664, allocations: 0 / 0.5083 GB, free: 4.168 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007123/0.4671, allocations: 199.9 kB / 0.5085 GB, free: 3.973 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 () * 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.0001531/0.4673, allocations: 103.2 kB / 0.5086 GB, free: 3.863 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001008/0.4683, allocations: 0.7511 MB / 0.5093 GB, free: 3.102 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4683, allocations: 0 / 0.5093 GB, free: 3.102 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005855/0.4689, allocations: 451.1 kB / 0.5097 GB, free: 2.648 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000734/0.4697, allocations: 144.2 kB / 0.5099 GB, free: 2.508 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002693/0.4724, allocations: 1.713 MB / 0.5115 GB, free: 0.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009563/0.4733, allocations: 1.366 MB / 0.5129 GB, free: 15.36 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004489/0.4738, allocations: 185.5 kB / 0.5131 GB, free: 15.18 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.4739, allocations: 47.44 kB / 0.5131 GB, free: 15.13 MB / 394.7 MB Notification: Performance of SimCode: time 6.51e-07/0.4739, allocations: 0 / 0.5131 GB, free: 15.13 MB / 394.7 MB Notification: Performance of Templates: time 0.01499/0.4889, allocations: 8.295 MB / 0.5212 GB, free: 7 MB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches