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.001453/0.001454, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 221.5 MB / 230.3 MB, free: 7.516 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.001104/0.001104, allocations: 80.53 kB / 281.2 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.39e-05/1.392e-05, allocations: 4 kB / 337 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09897/0.09899, allocations: 50.42 MB / 387.5 MB, free: 7.559 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2772/0.3763, allocations: 81.06 MB / 468.5 MB, free: 13.77 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001782/0.3765, allocations: 67.97 kB / 468.6 MB, free: 13.7 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04494/0.4214, allocations: 18.81 MB / 487.4 MB, free: 10.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4215, allocations: 0 / 487.4 MB, free: 10.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.849e-05/0.4216, allocations: 32 kB / 487.4 MB, free: 10.73 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.002493/0.4241, allocations: 1.337 MB / 488.8 MB, free: 9.348 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.4241, allocations: 16.03 kB / 488.8 MB, free: 9.332 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003095/0.4244, allocations: 138.4 kB / 488.9 MB, free: 9.195 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/0.4257, allocations: 0.8453 MB / 489.8 MB, free: 8.305 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.748e-05/0.4258, allocations: 36 kB / 489.8 MB, free: 8.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/0.4259, allocations: 71.92 kB / 489.9 MB, free: 8.199 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001659/0.4276, allocations: 1.102 MB / 491 MB, free: 7.094 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001928/0.4295, allocations: 1.297 MB / 492.3 MB, free: 5.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.4296, allocations: 3.953 kB / 492.3 MB, free: 5.727 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.468e-05/0.4297, allocations: 4 kB / 492.3 MB, free: 5.723 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.064e-05/0.4297, allocations: 24 kB / 492.3 MB, free: 5.699 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005847/0.4355, allocations: 4.037 MB / 496.3 MB, free: 1.547 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.4366, allocations: 1.27 MB / 497.6 MB, free: 112 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005967/0.4372, allocations: 422.8 kB / 498 MB, free: 15.69 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.4373, allocations: 4.438 kB / 498 MB, free: 15.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.4373, allocations: 50.88 kB / 498.1 MB, free: 15.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=49): time 3.106e-06/0.4373, allocations: 0 / 498.1 MB, free: 15.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=51): time 0.002411/0.4397, allocations: 1.545 MB / 499.6 MB, free: 14.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.4398, allocations: 63.78 kB / 499.7 MB, free: 13.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008687/0.4407, allocations: 0.6635 MB / 0.4886 GB, free: 13.28 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.74e-05/0.4407, allocations: 29.7 kB / 0.4886 GB, free: 13.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003446/0.4411, allocations: 0.5414 MB / 0.4892 GB, free: 12.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.4412, allocations: 169.4 kB / 0.4893 GB, free: 12.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.247e-05/0.4412, allocations: 0 / 0.4893 GB, free: 12.53 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.4414, allocations: 382.8 kB / 0.4897 GB, free: 12.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003276/0.4417, allocations: 277 kB / 0.49 GB, free: 11.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003914/0.4421, allocations: 366.3 kB / 0.4903 GB, free: 11.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004123/0.4425, allocations: 333.9 kB / 0.4906 GB, free: 11.15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.4425, allocations: 4 kB / 0.4906 GB, free: 11.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00108/0.4436, allocations: 0.8229 MB / 0.4914 GB, free: 10.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.4437, allocations: 8 kB / 0.4914 GB, free: 10.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.4437, allocations: 4 kB / 0.4914 GB, free: 10.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002348/0.4439, allocations: 104.8 kB / 0.4915 GB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004972/0.4444, allocations: 135.8 kB / 0.4917 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001836/0.4463, allocations: 2.083 MB / 0.4937 GB, free: 7.871 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003596/0.4466, allocations: 19.97 kB / 0.4937 GB, free: 7.852 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.642e-05/0.4467, allocations: 23.98 kB / 0.4938 GB, free: 7.828 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.0001228/0.4468, allocations: 113 kB / 0.4939 GB, free: 7.711 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.797e-05/0.4469, allocations: 75.11 kB / 0.4939 GB, free: 7.637 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001661/0.4471, allocations: 86.61 kB / 0.494 GB, free: 7.543 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.4471, allocations: 7.984 kB / 0.494 GB, free: 7.535 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.4471, allocations: 0 / 0.494 GB, free: 7.535 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.4471, allocations: 192 / 0.494 GB, free: 7.535 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002504/0.4496, allocations: 1.792 MB / 0.4958 GB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.4497, allocations: 7.938 kB / 0.4958 GB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003395/0.45, allocations: 96.03 kB / 0.4959 GB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001986/0.4502, allocations: 96.8 kB / 0.496 GB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.918e-05/0.4503, allocations: 7.984 kB / 0.496 GB, free: 5.469 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001657/0.4519, allocations: 2.044 MB / 0.498 GB, free: 3.301 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.4519, allocations: 4.031 kB / 0.498 GB, free: 3.297 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001262/0.4532, allocations: 1.165 MB / 0.4991 GB, free: 2.062 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001599/0.4534, allocations: 156.3 kB / 0.4993 GB, free: 1.891 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.097e-05/0.4535, allocations: 11.94 kB / 0.4993 GB, free: 1.879 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003795/0.4538, allocations: 47.95 kB / 0.4993 GB, free: 1.832 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.608e-05/0.4539, allocations: 40.38 kB / 0.4994 GB, free: 1.793 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-05/0.454, allocations: 16 kB / 0.4994 GB, free: 1.777 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005892/0.4546, allocations: 0.5225 MB / 0.4999 GB, free: 1.262 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.613e-06/0.4546, allocations: 0 / 0.4999 GB, free: 1.262 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006863/0.4553, allocations: 199.9 kB / 0.5001 GB, free: 1.066 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.0001632/0.4554, allocations: 107.2 kB / 0.5002 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001019/0.4565, allocations: 0.7432 MB / 0.5009 GB, free: 204 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4565, allocations: 0 / 0.5009 GB, free: 204 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000598/0.4571, allocations: 464 kB / 0.5013 GB, free: 15.73 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007098/0.4578, allocations: 140.6 kB / 0.5015 GB, free: 15.59 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002496/0.4603, allocations: 1.711 MB / 0.5031 GB, free: 13.84 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009738/0.4613, allocations: 1.356 MB / 0.5045 GB, free: 12.45 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004437/0.4618, allocations: 181.5 kB / 0.5046 GB, free: 12.27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.4619, allocations: 51.38 kB / 0.5047 GB, free: 12.22 MB / 394.7 MB Notification: Performance of SimCode: time 5.01e-07/0.4619, allocations: 0 / 0.5047 GB, free: 12.22 MB / 394.7 MB Notification: Performance of Templates: time 0.01389/0.4758, allocations: 8.3 MB / 0.5128 GB, free: 4.035 MB / 394.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