Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.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.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008499/0.00085, allocations: 175.2 kB / 17.4 MB, free: 4.422 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.433/1.433, allocations: 223.3 MB / 241.4 MB, free: 11.73 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.0007739/0.000774, allocations: 103.5 kB / 292.6 MB, free: 10.78 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003646/0.0003645, allocations: 15.94 kB / 352.3 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2176, allocations: 50.4 MB / 402.7 MB, free: 32.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09781/0.3154, allocations: 81.82 MB / 484.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/0.3157, allocations: 67.97 kB / 484.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04699/0.3627, allocations: 18.97 MB / 0.4918 GB, free: 11.33 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.3628, allocations: 0 / 0.4918 GB, free: 11.33 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.82e-05/0.3629, allocations: 32 kB / 0.4918 GB, free: 11.3 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.002607/0.3655, allocations: 1.454 MB / 0.4933 GB, free: 9.785 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.3655, allocations: 8.031 kB / 0.4933 GB, free: 9.777 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002284/0.3658, allocations: 143.2 kB / 0.4934 GB, free: 9.637 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001328/0.3671, allocations: 0.8811 MB / 0.4943 GB, free: 8.711 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.971e-05/0.3672, allocations: 86.58 kB / 0.4943 GB, free: 8.625 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/0.3673, allocations: 116.3 kB / 0.4945 GB, free: 8.512 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002264/0.3696, allocations: 1.501 MB / 0.4959 GB, free: 6.941 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.634e-05/0.3697, allocations: 192 / 0.4959 GB, free: 6.941 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/0.3698, allocations: 51.94 kB / 0.496 GB, free: 6.891 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.319e-05/0.3698, allocations: 28 kB / 0.496 GB, free: 6.863 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00192/0.3717, allocations: 1.227 MB / 0.4972 GB, free: 5.629 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006472/0.3782, allocations: 4.236 MB / 0.5013 GB, free: 1.262 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2086/0.5868, allocations: 1.316 MB / 0.5026 GB, free: 92.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001158/0.5881, allocations: 464.1 kB / 0.5031 GB, free: 92.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.68e-05/0.5881, allocations: 9.875 kB / 0.5031 GB, free: 92.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.343e-05/0.5882, allocations: 40.89 kB / 0.5031 GB, free: 92.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=49): time 3.477e-06/0.5882, allocations: 0.6875 kB / 0.5031 GB, free: 92.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=51): time 0.003744/0.5919, allocations: 1.961 MB / 0.505 GB, free: 91.76 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.592, allocations: 57.28 kB / 0.5051 GB, free: 91.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.5932, allocations: 0.812 MB / 0.5059 GB, free: 91.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.01e-05/0.5933, allocations: 36.11 kB / 0.5059 GB, free: 91.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003148/0.5936, allocations: 0.5368 MB / 0.5064 GB, free: 91.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.5937, allocations: 185.4 kB / 0.5066 GB, free: 91.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.387e-05/0.5937, allocations: 9.125 kB / 0.5066 GB, free: 91.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.5939, allocations: 391.8 kB / 0.507 GB, free: 90.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004842/0.5943, allocations: 302.8 kB / 0.5073 GB, free: 90.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006566/0.595, allocations: 403.9 kB / 0.5077 GB, free: 90.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007976/0.5958, allocations: 0.7082 MB / 0.5084 GB, free: 90.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.5958, allocations: 0 / 0.5084 GB, free: 90.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001172/0.597, allocations: 0.9182 MB / 0.5092 GB, free: 90.63 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.597, allocations: 3.344 kB / 0.5093 GB, free: 90.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.597, allocations: 5.125 kB / 0.5093 GB, free: 90.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002634/0.5973, allocations: 110.6 kB / 0.5094 GB, free: 90.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004754/0.5978, allocations: 129.8 kB / 0.5095 GB, free: 90.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001714/0.5995, allocations: 2.177 MB / 0.5116 GB, free: 89.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004455/0.6, allocations: 33.89 kB / 0.5116 GB, free: 89.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.542e-05/0.6, allocations: 20.56 kB / 0.5117 GB, free: 89.28 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 () * Number of clocked 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.0006378/0.6007, allocations: 457.7 kB / 0.5121 GB, free: 89.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.785e-05/0.6008, allocations: 72.84 kB / 0.5122 GB, free: 89.12 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001223/0.6009, allocations: 92.53 kB / 0.5123 GB, free: 89.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.6009, allocations: 7.625 kB / 0.5123 GB, free: 89.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-05/0.6009, allocations: 3.469 kB / 0.5123 GB, free: 89.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.601, allocations: 4.922 kB / 0.5123 GB, free: 89.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002605/0.6036, allocations: 2.04 MB / 0.5143 GB, free: 88.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.6036, allocations: 0 / 0.5143 GB, free: 88.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003123/0.6039, allocations: 93.17 kB / 0.5144 GB, free: 88.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001951/0.6041, allocations: 99.78 kB / 0.5144 GB, free: 88.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.238e-05/0.6041, allocations: 19.95 kB / 0.5145 GB, free: 88.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001534/0.6057, allocations: 2.123 MB / 0.5165 GB, free: 86.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.6057, allocations: 6.047 kB / 0.5165 GB, free: 86.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001332/0.607, allocations: 1.212 MB / 0.5177 GB, free: 86.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001728/0.6072, allocations: 163.7 kB / 0.5179 GB, free: 86.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.501e-05/0.6073, allocations: 18.94 kB / 0.5179 GB, free: 86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003544/0.6077, allocations: 55.09 kB / 0.518 GB, free: 86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.449e-05/0.6078, allocations: 41.16 kB / 0.518 GB, free: 85.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.929e-05/0.6078, allocations: 18.44 kB / 0.518 GB, free: 85.99 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005756/0.6084, allocations: 0.5795 MB / 0.5186 GB, free: 85.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6084, allocations: 0 / 0.5186 GB, free: 85.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007239/0.6091, allocations: 209.3 kB / 0.5188 GB, free: 85.74 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 () * Number of clocked 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.0001557/0.6093, allocations: 121.3 kB / 0.5189 GB, free: 85.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00107/0.6104, allocations: 0.8355 MB / 0.5197 GB, free: 85.31 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6104, allocations: 0 / 0.5197 GB, free: 85.31 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006043/0.611, allocations: 488.3 kB / 0.5202 GB, free: 85.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008834/0.6119, allocations: 178 kB / 0.5203 GB, free: 85.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003034/0.6149, allocations: 2.637 MB / 0.5229 GB, free: 83.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006872/0.6156, allocations: 1.329 MB / 0.5242 GB, free: 82.78 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000428/0.6161, allocations: 186.6 kB / 0.5244 GB, free: 82.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.6162, allocations: 48.56 kB / 0.5244 GB, free: 82.76 MB / 378.7 MB Notification: Performance of SimCode: time 5.91e-07/0.6162, allocations: 0 / 0.5244 GB, free: 82.76 MB / 378.7 MB Notification: Performance of Templates: time 0.01446/0.6307, allocations: 9.729 MB / 0.5339 GB, free: 77.24 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches