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.001386/0.001386, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 225.4 MB / 240.1 MB, free: 15.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000848/0.0008479, allocations: 94.31 kB / 292.1 MB, free: 5.938 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.726e-05/3.728e-05, allocations: 0 / 350.5 MB, free: 2.551 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08562/0.08568, allocations: 51.48 MB / 402 MB, free: 15.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3101/0.3959, allocations: 82.54 MB / 484.6 MB, free: 6.973 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/0.3961, allocations: 68.83 kB / 484.6 MB, free: 6.938 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04514/0.4413, allocations: 19.07 MB / 0.4919 GB, free: 5.531 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.4413, allocations: 0 / 0.4919 GB, free: 5.531 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.17e-05/0.4414, allocations: 30.34 kB / 0.4919 GB, free: 5.504 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.002896/0.4443, allocations: 1.344 MB / 0.4932 GB, free: 4.117 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.4444, allocations: 8.031 kB / 0.4932 GB, free: 4.109 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006699/0.4451, allocations: 174.4 kB / 0.4934 GB, free: 3.938 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001803/0.4469, allocations: 0.8573 MB / 0.4942 GB, free: 3.035 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.55e-05/0.447, allocations: 86.17 kB / 0.4943 GB, free: 2.949 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002472/0.4472, allocations: 108 kB / 0.4944 GB, free: 2.844 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002616/0.4499, allocations: 1.454 MB / 0.4958 GB, free: 1.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.4499, allocations: 0 / 0.4958 GB, free: 1.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/0.45, allocations: 44 kB / 0.4959 GB, free: 1.277 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.306e-05/0.45, allocations: 28 kB / 0.4959 GB, free: 1.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002019/0.4521, allocations: 1.164 MB / 0.4971 GB, free: 80 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006935/0.459, allocations: 4.243 MB / 0.5012 GB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.4602, allocations: 1.292 MB / 0.5025 GB, free: 10.24 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006253/0.4608, allocations: 446 kB / 0.5029 GB, free: 9.801 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.434e-05/0.4609, allocations: 4.438 kB / 0.5029 GB, free: 9.797 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.4609, allocations: 42.98 kB / 0.5029 GB, free: 9.746 MB / 378.7 MB Notification: Performance of pre-optimization done (n=49): time 2.765e-06/0.4609, allocations: 0 / 0.5029 GB, free: 9.746 MB / 378.7 MB Notification: Performance of matching and sorting (n=51): time 0.002781/0.4637, allocations: 1.627 MB / 0.5045 GB, free: 8.059 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.4638, allocations: 59.84 kB / 0.5046 GB, free: 7.988 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009638/0.4647, allocations: 0.726 MB / 0.5053 GB, free: 7.254 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.868e-05/0.4648, allocations: 37.7 kB / 0.5053 GB, free: 7.211 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003573/0.4652, allocations: 0.5453 MB / 0.5059 GB, free: 6.656 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.4653, allocations: 173.5 kB / 0.506 GB, free: 6.484 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.442e-05/0.4653, allocations: 8 kB / 0.506 GB, free: 6.477 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.4655, allocations: 396.5 kB / 0.5064 GB, free: 6.082 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000387/0.4659, allocations: 284.9 kB / 0.5067 GB, free: 5.801 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004392/0.4664, allocations: 383.4 kB / 0.507 GB, free: 5.391 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004501/0.4668, allocations: 343 kB / 0.5074 GB, free: 5.055 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.4668, allocations: 4 kB / 0.5074 GB, free: 5.051 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001249/0.4681, allocations: 0.8772 MB / 0.5082 GB, free: 4.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.4681, allocations: 8 kB / 0.5082 GB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.4681, allocations: 0 / 0.5082 GB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002766/0.4684, allocations: 109.1 kB / 0.5083 GB, free: 4.043 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005186/0.4689, allocations: 127.8 kB / 0.5085 GB, free: 3.918 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002119/0.4711, allocations: 2.172 MB / 0.5106 GB, free: 1.613 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000438/0.4715, allocations: 36.06 kB / 0.5106 GB, free: 1.578 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.218e-05/0.4716, allocations: 22.03 kB / 0.5106 GB, free: 1.559 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.0001482/0.4717, allocations: 132.8 kB / 0.5108 GB, free: 1.422 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.4719, allocations: 75.16 kB / 0.5108 GB, free: 1.348 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000219/0.4721, allocations: 86.86 kB / 0.5109 GB, free: 1.258 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.4721, allocations: 4 kB / 0.5109 GB, free: 1.254 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.4721, allocations: 11.94 kB / 0.5109 GB, free: 1.242 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.4721, allocations: 0 / 0.5109 GB, free: 1.242 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003116/0.4753, allocations: 1.995 MB / 0.5129 GB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.4753, allocations: 4.156 kB / 0.5129 GB, free: 15.17 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003747/0.4757, allocations: 95.88 kB / 0.513 GB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002185/0.4759, allocations: 98.48 kB / 0.5131 GB, free: 14.98 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.268e-05/0.476, allocations: 11.98 kB / 0.5131 GB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001909/0.4779, allocations: 2.121 MB / 0.5152 GB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.4779, allocations: 4.156 kB / 0.5152 GB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001507/0.4794, allocations: 1.208 MB / 0.5163 GB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002973/0.4797, allocations: 156.3 kB / 0.5165 GB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.4798, allocations: 19.98 kB / 0.5165 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004471/0.4803, allocations: 56.02 kB / 0.5166 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.4804, allocations: 44.27 kB / 0.5166 GB, free: 11.15 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-05/0.4805, allocations: 16 kB / 0.5166 GB, free: 11.14 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007879/0.4813, allocations: 0.5772 MB / 0.5172 GB, free: 10.56 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4813, allocations: 0 / 0.5172 GB, free: 10.56 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007881/0.4821, allocations: 212 kB / 0.5174 GB, free: 10.36 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.0001742/0.4822, allocations: 123 kB / 0.5175 GB, free: 10.23 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001241/0.4835, allocations: 0.7813 MB / 0.5183 GB, free: 9.43 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.4835, allocations: 4 kB / 0.5183 GB, free: 9.426 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006921/0.4842, allocations: 472.7 kB / 0.5187 GB, free: 8.953 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008366/0.4851, allocations: 168.5 kB / 0.5189 GB, free: 8.797 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003609/0.4887, allocations: 1.736 MB / 0.5206 GB, free: 7.012 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009628/0.4897, allocations: 1.359 MB / 0.5219 GB, free: 5.629 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000559/0.4902, allocations: 185.8 kB / 0.5221 GB, free: 5.445 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.4904, allocations: 51.44 kB / 0.5221 GB, free: 5.395 MB / 394.7 MB Notification: Performance of SimCode: time 2.645e-06/0.4904, allocations: 0 / 0.5221 GB, free: 5.395 MB / 394.7 MB Notification: Performance of Templates: time 0.01801/0.5084, allocations: 9.609 MB / 0.5315 GB, free: 11.97 MB / 410.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