Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009076/0.0009076, allocations: 183 kB / 18.04 MB, free: 3.777 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.281/1.281, allocations: 205.4 MB / 224.2 MB, free: 8.949 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.0008094/0.0008094, allocations: 90.3 kB / 272.5 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003499/0.00035, allocations: 12 kB / 329.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1906, allocations: 47.57 MB / 377 MB, free: 45.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09411/0.2848, allocations: 92.23 MB / 469.3 MB, free: 4.277 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.2851, allocations: 87.95 kB / 469.4 MB, free: 4.191 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3096/0.5946, allocations: 73.9 MB / 0.5305 GB, free: 84.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5947, allocations: 0 / 0.5305 GB, free: 84.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001972/0.5949, allocations: 86.31 kB / 0.5306 GB, free: 84.43 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: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.006442/0.6013, allocations: 3.172 MB / 0.5337 GB, free: 82.35 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.6014, allocations: 11.03 kB / 0.5337 GB, free: 82.35 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001146/0.6025, allocations: 391.9 kB / 0.5341 GB, free: 82.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003865/0.6064, allocations: 2.253 MB / 0.5363 GB, free: 79.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.6065, allocations: 217.3 kB / 0.5365 GB, free: 79.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004199/0.607, allocations: 284.4 kB / 0.5368 GB, free: 79.26 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005478/0.6124, allocations: 4.171 MB / 0.5408 GB, free: 74.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.533e-05/0.6125, allocations: 192 / 0.5408 GB, free: 74.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002726/0.6128, allocations: 131.9 kB / 0.541 GB, free: 74.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.629e-05/0.6129, allocations: 137.9 kB / 0.5411 GB, free: 74.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004795/0.6177, allocations: 3.209 MB / 0.5442 GB, free: 71.45 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01568/0.6334, allocations: 11.01 MB / 0.555 GB, free: 60.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002102/0.6356, allocations: 2.631 MB / 0.5575 GB, free: 57.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001899/0.6375, allocations: 1.485 MB / 0.559 GB, free: 56.03 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003549/0.6378, allocations: 145.4 kB / 0.5591 GB, free: 55.87 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.6379, allocations: 55.44 kB / 0.5592 GB, free: 55.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=128): time 3.506e-06/0.6379, allocations: 0 / 0.5592 GB, free: 55.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=133): time 0.007812/0.6457, allocations: 5.278 MB / 0.5643 GB, free: 50.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.6458, allocations: 98.42 kB / 0.5644 GB, free: 50.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00228/0.6481, allocations: 1.914 MB / 0.5663 GB, free: 48.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000118/0.6482, allocations: 49.64 kB / 0.5664 GB, free: 48.37 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005288/0.6487, allocations: 1.315 MB / 0.5676 GB, free: 47.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002384/0.649, allocations: 461.1 kB / 0.5681 GB, free: 46.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.191e-05/0.6491, allocations: 32 kB / 0.5681 GB, free: 46.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.204e-05/0.6491, allocations: 361.9 kB / 0.5685 GB, free: 46.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/0.6502, allocations: 0.8159 MB / 0.5693 GB, free: 45.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/0.6513, allocations: 1.169 MB / 0.5704 GB, free: 44.08 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002219/0.6536, allocations: 2.062 MB / 0.5724 GB, free: 41.88 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.6536, allocations: 3.938 kB / 0.5724 GB, free: 41.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003547/0.6571, allocations: 2.515 MB / 0.5749 GB, free: 39.35 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.6572, allocations: 12 kB / 0.5749 GB, free: 39.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.456e-05/0.6572, allocations: 12 kB / 0.5749 GB, free: 39.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008197/0.658, allocations: 367.3 kB / 0.5752 GB, free: 38.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/0.6593, allocations: 339.4 kB / 0.5756 GB, free: 38.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004054/0.6633, allocations: 4.055 MB / 0.5795 GB, free: 34.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/0.6646, allocations: 91.89 kB / 0.5796 GB, free: 34.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001243/0.6647, allocations: 63.98 kB / 0.5797 GB, free: 34.29 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (157): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00143/0.6662, allocations: 1.044 MB / 0.5807 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000373/0.6666, allocations: 193.7 kB / 0.5809 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003085/0.6696, allocations: 2.176 MB / 0.583 GB, free: 30.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.6697, allocations: 12 kB / 0.583 GB, free: 30.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.6697, allocations: 8 kB / 0.583 GB, free: 30.83 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.6697, allocations: 3.984 kB / 0.583 GB, free: 30.83 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007457/0.6772, allocations: 5.235 MB / 0.5881 GB, free: 25.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.665e-05/0.6772, allocations: 4 kB / 0.5881 GB, free: 25.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009211/0.6781, allocations: 223.7 kB / 0.5884 GB, free: 25.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007972/0.6789, allocations: 341.2 kB / 0.5887 GB, free: 24.97 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.042e-05/0.679, allocations: 39.98 kB / 0.5887 GB, free: 24.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003805/0.6829, allocations: 3.971 MB / 0.5926 GB, free: 20.83 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.6829, allocations: 7.969 kB / 0.5926 GB, free: 20.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004092/0.687, allocations: 3.26 MB / 0.5958 GB, free: 17.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007566/0.6877, allocations: 466.7 kB / 0.5962 GB, free: 17.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002262/0.688, allocations: 31.94 kB / 0.5963 GB, free: 17.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009823/0.689, allocations: 115.9 kB / 0.5964 GB, free: 16.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002796/0.6893, allocations: 92.86 kB / 0.5965 GB, free: 16.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.653e-05/0.6894, allocations: 43.98 kB / 0.5965 GB, free: 16.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001595/0.691, allocations: 1.334 MB / 0.5978 GB, free: 15.44 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.691, allocations: 0 / 0.5978 GB, free: 15.44 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001529/0.6925, allocations: 0.5741 MB / 0.5984 GB, free: 14.86 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.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 (104): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000356/0.6929, allocations: 222.9 kB / 0.5986 GB, free: 14.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002882/0.6958, allocations: 2.304 MB / 0.6008 GB, free: 12.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.6958, allocations: 0 / 0.6008 GB, free: 12.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001552/0.6973, allocations: 1.325 MB / 0.6021 GB, free: 10.94 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002263/0.6996, allocations: 0.4916 MB / 0.6026 GB, free: 10.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007587/0.7072, allocations: 6.714 MB / 0.6092 GB, free: 3.684 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001621/0.7089, allocations: 2.432 MB / 0.6115 GB, free: 1.219 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001378/0.7102, allocations: 491.4 kB / 0.612 GB, free: 0.7344 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003388/0.7106, allocations: 123.4 kB / 0.6121 GB, free: 0.6133 MB / 378.7 MB Notification: Performance of SimCode: time 5.01e-07/0.7106, allocations: 0 / 0.6121 GB, free: 0.6133 MB / 378.7 MB Notification: Performance of Templates: time 0.04995/0.7605, allocations: 29.46 MB / 0.6409 GB, free: 3.152 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches