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.0009594/0.0009594, allocations: 175.1 kB / 13.63 MB, free: 1.684 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.243/1.243, allocations: 221.3 MB / 235.5 MB, free: 2.902 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008148/0.0008147, allocations: 87.23 kB / 286.5 MB, free: 184 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.662e-05/2.664e-05, allocations: 0 / 343.8 MB, free: 4.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09999/0.1, allocations: 50.42 MB / 394.2 MB, free: 1.859 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2777/0.3778, allocations: 81.72 MB / 476 MB, free: 5.836 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001965/0.378, allocations: 75.8 kB / 476 MB, free: 5.766 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04638/0.4244, allocations: 19.02 MB / 495.1 MB, free: 2.617 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4244, allocations: 0 / 495.1 MB, free: 2.617 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.424e-05/0.4245, allocations: 32 kB / 495.1 MB, free: 2.586 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.002245/0.4268, allocations: 1.334 MB / 496.4 MB, free: 1.203 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.4268, allocations: 12.03 kB / 496.4 MB, free: 1.191 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002184/0.427, allocations: 138.4 kB / 496.6 MB, free: 1.055 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/0.4284, allocations: 0.8531 MB / 497.4 MB, free: 164 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.962e-05/0.4285, allocations: 78.22 kB / 497.5 MB, free: 84 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002173/0.4287, allocations: 116 kB / 497.6 MB, free: 15.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002107/0.4309, allocations: 1.458 MB / 499.1 MB, free: 14.44 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.4309, allocations: 352 / 499.1 MB, free: 14.44 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/0.431, allocations: 51.95 kB / 499.1 MB, free: 14.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.087e-05/0.431, allocations: 28 kB / 499.1 MB, free: 14.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001736/0.4328, allocations: 1.164 MB / 0.4886 GB, free: 13.19 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006202/0.439, allocations: 4.24 MB / 0.4927 GB, free: 8.816 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.4401, allocations: 1.289 MB / 0.494 GB, free: 7.352 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006046/0.4407, allocations: 442.5 kB / 0.4944 GB, free: 6.914 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.527e-05/0.4408, allocations: 8.422 kB / 0.4944 GB, free: 6.906 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.4408, allocations: 43 kB / 0.4945 GB, free: 6.855 MB / 378.7 MB Notification: Performance of pre-optimization done (n=49): time 2.425e-06/0.4408, allocations: 0 / 0.4945 GB, free: 6.855 MB / 378.7 MB Notification: Performance of matching and sorting (n=51): time 0.002473/0.4433, allocations: 1.627 MB / 0.496 GB, free: 5.168 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.4433, allocations: 59.78 kB / 0.4961 GB, free: 5.098 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008818/0.4442, allocations: 0.7337 MB / 0.4968 GB, free: 4.355 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.822e-05/0.4443, allocations: 41.7 kB / 0.4969 GB, free: 4.309 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003529/0.4446, allocations: 0.5337 MB / 0.4974 GB, free: 3.766 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.4448, allocations: 173.4 kB / 0.4975 GB, free: 3.594 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-05/0.4448, allocations: 12 kB / 0.4976 GB, free: 3.582 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.445, allocations: 386.8 kB / 0.4979 GB, free: 3.195 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003755/0.4453, allocations: 285 kB / 0.4982 GB, free: 2.918 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004329/0.4458, allocations: 379.4 kB / 0.4986 GB, free: 2.512 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004428/0.4462, allocations: 355 kB / 0.4989 GB, free: 2.164 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4462, allocations: 0 / 0.4989 GB, free: 2.164 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001187/0.4474, allocations: 0.8736 MB / 0.4997 GB, free: 1.281 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.4475, allocations: 8 kB / 0.4998 GB, free: 1.273 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.4475, allocations: 3.953 kB / 0.4998 GB, free: 1.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002617/0.4477, allocations: 104.8 kB / 0.4999 GB, free: 1.164 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005076/0.4483, allocations: 135.7 kB / 0.5 GB, free: 1.031 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002115/0.4504, allocations: 2.17 MB / 0.5021 GB, free: 14.72 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003884/0.4508, allocations: 35.97 kB / 0.5021 GB, free: 14.69 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.698e-05/0.4508, allocations: 16.09 kB / 0.5022 GB, free: 14.67 MB / 394.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.0001356/0.451, allocations: 136.8 kB / 0.5023 GB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.4511, allocations: 71.16 kB / 0.5024 GB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002123/0.4513, allocations: 94.92 kB / 0.5024 GB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.4513, allocations: 4 kB / 0.5024 GB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.4513, allocations: 0 / 0.5024 GB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.4514, allocations: 7.984 kB / 0.5025 GB, free: 14.35 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003093/0.4545, allocations: 1.987 MB / 0.5044 GB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.4545, allocations: 0 / 0.5044 GB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003507/0.4548, allocations: 91.84 kB / 0.5045 GB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002319/0.4551, allocations: 112.9 kB / 0.5046 GB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.435e-05/0.4551, allocations: 15.98 kB / 0.5046 GB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001912/0.457, allocations: 2.112 MB / 0.5067 GB, free: 9.82 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.4571, allocations: 4.031 kB / 0.5067 GB, free: 9.816 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001479/0.4585, allocations: 1.216 MB / 0.5079 GB, free: 8.535 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002649/0.4588, allocations: 156.3 kB / 0.508 GB, free: 8.363 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.4589, allocations: 20.05 kB / 0.508 GB, free: 8.344 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004136/0.4594, allocations: 56.02 kB / 0.5081 GB, free: 8.289 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.781e-05/0.4595, allocations: 44.31 kB / 0.5081 GB, free: 8.246 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.278e-05/0.4595, allocations: 16 kB / 0.5081 GB, free: 8.23 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000718/0.4602, allocations: 0.5694 MB / 0.5087 GB, free: 7.664 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.673e-06/0.4602, allocations: 0 / 0.5087 GB, free: 7.664 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007356/0.461, allocations: 215.9 kB / 0.5089 GB, free: 7.453 MB / 394.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.0001644/0.4612, allocations: 127.1 kB / 0.509 GB, free: 7.32 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001073/0.4622, allocations: 0.7733 MB / 0.5098 GB, free: 6.539 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.4623, allocations: 0 / 0.5098 GB, free: 6.539 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006165/0.4629, allocations: 473.7 kB / 0.5102 GB, free: 6.059 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007137/0.4636, allocations: 169.9 kB / 0.5104 GB, free: 5.895 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002646/0.4663, allocations: 1.747 MB / 0.5121 GB, free: 4.098 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008389/0.4671, allocations: 1.36 MB / 0.5134 GB, free: 2.711 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004451/0.4676, allocations: 181.8 kB / 0.5136 GB, free: 2.531 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.4677, allocations: 47.44 kB / 0.5136 GB, free: 2.484 MB / 394.7 MB Notification: Performance of SimCode: time 4.81e-07/0.4677, allocations: 4 kB / 0.5136 GB, free: 2.48 MB / 394.7 MB Notification: Performance of Templates: time 0.01612/0.4838, allocations: 9.598 MB / 0.523 GB, free: 8.996 MB / 410.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/jenkins/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