Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001154/0.001154, allocations: 181.2 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.652/1.652, allocations: 205.4 MB / 223.1 MB, free: 9.129 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009814/0.0009814, allocations: 98.91 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002705/0.0002705, allocations: 4 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.261, allocations: 47.57 MB / 375.8 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09747/0.3586, allocations: 80.49 MB / 456.3 MB, free: 184 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/0.3589, allocations: 79.95 kB / 456.4 MB, free: 104 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04676/0.4057, allocations: 18.48 MB / 474.9 MB, free: 13.49 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.4057, allocations: 0 / 474.9 MB, free: 13.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.222e-05/0.4058, allocations: 28 kB / 474.9 MB, free: 13.46 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.002565/0.4084, allocations: 1.45 MB / 476.3 MB, free: 11.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.4084, allocations: 8.031 kB / 476.3 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002342/0.4087, allocations: 142.3 kB / 476.5 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001494/0.4102, allocations: 0.8573 MB / 477.3 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.371e-05/0.4102, allocations: 86.17 kB / 477.4 MB, free: 10.83 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001565/0.4104, allocations: 116 kB / 477.5 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002218/0.4126, allocations: 1.493 MB / 479 MB, free: 9.152 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.4127, allocations: 4 kB / 479 MB, free: 9.148 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/0.4128, allocations: 44 kB / 479.1 MB, free: 9.105 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.319e-05/0.4128, allocations: 28 kB / 479.1 MB, free: 9.078 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001881/0.4147, allocations: 1.23 MB / 480.3 MB, free: 7.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006638/0.4214, allocations: 4.264 MB / 484.6 MB, free: 3.441 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00129/0.4227, allocations: 1.322 MB / 485.9 MB, free: 1.953 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.404e-05/0.4228, allocations: 4.438 kB / 485.9 MB, free: 1.949 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.4228, allocations: 39 kB / 486 MB, free: 1.902 MB / 362.7 MB Notification: Performance of pre-optimization done (n=49): time 4.028e-06/0.4228, allocations: 0 / 486 MB, free: 1.902 MB / 362.7 MB Notification: Performance of matching and sorting (n=50): time 0.003613/0.4265, allocations: 1.97 MB / 487.9 MB, free: 15.87 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.4265, allocations: 55.84 kB / 488 MB, free: 15.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.4276, allocations: 0.7375 MB / 488.7 MB, free: 15.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.006e-05/0.4276, allocations: 33.7 kB / 488.7 MB, free: 15.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004295/0.4281, allocations: 0.5413 MB / 489.3 MB, free: 14.47 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001665/0.4282, allocations: 181.5 kB / 489.5 MB, free: 14.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/0.4283, allocations: 8 kB / 489.5 MB, free: 14.28 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.4285, allocations: 394.6 kB / 489.9 MB, free: 13.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004773/0.429, allocations: 308.9 kB / 490.2 MB, free: 13.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000553/0.4295, allocations: 407.3 kB / 490.6 MB, free: 13.15 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005163/0.4301, allocations: 378 kB / 490.9 MB, free: 12.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4301, allocations: 0 / 490.9 MB, free: 12.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001466/0.4316, allocations: 0.9283 MB / 491.9 MB, free: 11.85 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.4316, allocations: 4 kB / 491.9 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.4316, allocations: 4 kB / 491.9 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003086/0.4319, allocations: 108.8 kB / 492 MB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005299/0.4325, allocations: 127.9 kB / 492.1 MB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002418/0.4349, allocations: 2.193 MB / 494.3 MB, free: 9.277 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005483/0.4355, allocations: 31.97 kB / 494.3 MB, free: 9.246 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-05/0.4355, allocations: 20 kB / 494.3 MB, free: 9.227 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 (59): * Single equations (assignments): 58 * 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.0009241/0.4364, allocations: 453.5 kB / 494.8 MB, free: 8.773 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000165/0.4366, allocations: 75.47 kB / 494.9 MB, free: 8.699 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001807/0.4368, allocations: 91.08 kB / 494.9 MB, free: 8.605 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.4368, allocations: 7.984 kB / 495 MB, free: 8.598 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.608e-05/0.4368, allocations: 7.953 kB / 495 MB, free: 8.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.4369, allocations: 0 / 495 MB, free: 8.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003641/0.4405, allocations: 2.023 MB / 497 MB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/0.4405, allocations: 3.938 kB / 497 MB, free: 6.488 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003984/0.4409, allocations: 95.88 kB / 497.1 MB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003023/0.4413, allocations: 100.8 kB / 497.2 MB, free: 6.293 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.898e-05/0.4413, allocations: 12 kB / 497.2 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00261/0.4439, allocations: 2.154 MB / 499.3 MB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4439, allocations: 64 / 499.3 MB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002076/0.446, allocations: 1.223 MB / 0.4888 GB, free: 2.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003102/0.4464, allocations: 160.2 kB / 0.489 GB, free: 2.555 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.872e-05/0.4465, allocations: 24.05 kB / 0.489 GB, free: 2.531 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004126/0.4469, allocations: 47.89 kB / 0.4891 GB, free: 2.484 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.447, allocations: 44.31 kB / 0.4891 GB, free: 2.441 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.612e-05/0.4471, allocations: 15.98 kB / 0.4891 GB, free: 2.426 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008768/0.4479, allocations: 0.5849 MB / 0.4897 GB, free: 1.844 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.448, allocations: 0 / 0.4897 GB, free: 1.844 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008286/0.4488, allocations: 212 kB / 0.4899 GB, free: 1.637 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (41): * Single equations (assignments): 40 * 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.0001958/0.449, allocations: 107.2 kB / 0.49 GB, free: 1.523 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001452/0.4505, allocations: 0.8358 MB / 0.4908 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.4505, allocations: 0 / 0.4908 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007116/0.4512, allocations: 493.6 kB / 0.4913 GB, free: 184 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007073/0.4519, allocations: 159 kB / 0.4914 GB, free: 28 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1924/0.6443, allocations: 2.592 MB / 0.494 GB, free: 103.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001439/0.6458, allocations: 1.358 MB / 0.4953 GB, free: 102.4 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009156/0.6468, allocations: 185.3 kB / 0.4955 GB, free: 102.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001707/0.6469, allocations: 48.64 kB / 0.4955 GB, free: 102.3 MB / 378.7 MB Notification: Performance of SimCode: time 2.134e-06/0.647, allocations: 0 / 0.4955 GB, free: 102.3 MB / 378.7 MB Notification: Performance of Templates: time 0.02017/0.6671, allocations: 9.612 MB / 0.5049 GB, free: 101.9 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYY/TransformerYY.csv","../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches