Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.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.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001662/0.001662, allocations: 196.4 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.415/1.415, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009209/0.0009209, allocations: 87.92 kB / 292.1 MB, free: 5.926 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.703e-05/2.704e-05, allocations: 4 kB / 350.5 MB, free: 2.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09653/0.09658, allocations: 51.48 MB / 402 MB, free: 14.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3642/0.4608, allocations: 105.2 MB / 0.4953 GB, free: 0.5078 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/0.4611, allocations: 84.89 kB / 0.4954 GB, free: 476 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.007/3.468, allocations: 0.8485 GB / 1.344 GB, free: 41.55 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.954e-06/3.468, allocations: 0 / 1.344 GB, free: 41.55 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000815/3.469, allocations: 388 kB / 1.344 GB, free: 41.51 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4885 * Number of variables: 4885 Notification: Performance of Generate backend data structure: time 0.05339/3.522, allocations: 15.97 MB / 1.36 GB, free: 37.04 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/3.522, allocations: 11.75 kB / 1.36 GB, free: 37.04 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03214/3.554, allocations: 6.07 MB / 1.366 GB, free: 36.13 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02663/3.581, allocations: 11.99 MB / 1.378 GB, free: 34.77 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001183/3.582, allocations: 1.249 MB / 1.379 GB, free: 34.73 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00586/3.588, allocations: 1.635 MB / 1.38 GB, free: 34.73 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06382/3.652, allocations: 28.1 MB / 1.408 GB, free: 32.64 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000666/3.653, allocations: 21.69 kB / 1.408 GB, free: 32.63 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005045/3.658, allocations: 0.7098 MB / 1.409 GB, free: 32.62 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001237/3.659, allocations: 1.298 MB / 1.41 GB, free: 32.59 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04309/3.702, allocations: 22.21 MB / 1.431 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5403/4.242, allocations: 87.58 MB / 1.517 GB, free: 23.18 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03203/4.275, allocations: 35.27 MB / 1.551 GB, free: 27.93 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009483/4.284, allocations: 5.384 MB / 1.557 GB, free: 27.86 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000639/4.285, allocations: 289.4 kB / 1.557 GB, free: 27.66 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.894e-05/4.285, allocations: 98.28 kB / 1.557 GB, free: 27.61 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=613): time 7.875e-06/4.285, allocations: 0 / 1.557 GB, free: 27.61 MB / 0.5573 GB Notification: Performance of matching and sorting (n=613): time 0.01425/4.299, allocations: 8.439 MB / 1.565 GB, free: 27.21 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/4.299, allocations: 139.9 kB / 1.565 GB, free: 27.11 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01054/4.31, allocations: 5.682 MB / 1.571 GB, free: 26.68 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001128/4.311, allocations: 119.5 kB / 1.571 GB, free: 26.65 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.005063/4.316, allocations: 7.558 MB / 1.578 GB, free: 22.94 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002562/4.319, allocations: 2.12 MB / 1.581 GB, free: 21.62 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007958/4.319, allocations: 213.2 kB / 1.581 GB, free: 21.62 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0006706/4.32, allocations: 0.7509 MB / 1.581 GB, free: 21.3 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007175/4.327, allocations: 4.791 MB / 1.586 GB, free: 21.27 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009595/4.337, allocations: 9.502 MB / 1.595 GB, free: 15.44 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01034/4.347, allocations: 7.24 MB / 1.603 GB, free: 15.14 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002212/4.348, allocations: 45.09 kB / 1.603 GB, free: 15.14 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1365) (initialization): time 0.0265/4.374, allocations: 15.51 MB / 1.618 GB, free: 14.42 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001211/4.374, allocations: 77.69 kB / 1.618 GB, free: 14.42 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002725/4.374, allocations: 160.4 kB / 1.618 GB, free: 14.42 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002901/4.377, allocations: 1.378 MB / 1.619 GB, free: 14.38 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007829/4.385, allocations: 2.356 MB / 1.622 GB, free: 14.38 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01288/4.398, allocations: 10.77 MB / 1.632 GB, free: 12.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008138/4.406, allocations: 1.361 MB / 1.633 GB, free: 12.09 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002006/4.408, allocations: 0.5363 MB / 1.634 GB, free: 12.09 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 727 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1260): * Single equations (assignments): 1239 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * 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 {(6,77.8%) 80} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001623/4.41, allocations: 0.7941 MB / 1.635 GB, free: 11.88 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001165/4.411, allocations: 0.6191 MB / 1.635 GB, free: 11.54 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01479/4.426, allocations: 10.44 MB / 1.646 GB, free: 11.03 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01122/4.437, allocations: 8.014 MB / 1.653 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.047e-05/4.437, allocations: 13.69 kB / 1.653 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.907e-05/4.437, allocations: 29.58 kB / 1.653 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06258/4.5, allocations: 26.94 MB / 1.68 GB, free: 14.96 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.301e-05/4.5, allocations: 8 kB / 1.68 GB, free: 14.96 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004997/4.505, allocations: 1.009 MB / 1.681 GB, free: 14.17 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003204/4.508, allocations: 1.167 MB / 1.682 GB, free: 13.22 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001126/4.509, allocations: 129.5 kB / 1.682 GB, free: 13.11 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01398/4.523, allocations: 10.37 MB / 1.692 GB, free: 3.965 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.146e-05/4.523, allocations: 11.19 kB / 1.692 GB, free: 3.957 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4142/4.938, allocations: 16.33 MB / 1.708 GB, free: 91.73 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004126/4.942, allocations: 1.498 MB / 1.709 GB, free: 91.56 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001389/4.943, allocations: 113.3 kB / 1.71 GB, free: 91.56 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003262/4.947, allocations: 328.8 kB / 1.71 GB, free: 91.56 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007785/4.947, allocations: 419.8 kB / 1.71 GB, free: 91.55 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000374/4.948, allocations: 176.8 kB / 1.71 GB, free: 91.55 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.007494/4.955, allocations: 4.21 MB / 1.715 GB, free: 91.3 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.51e-07/4.955, allocations: 2.844 kB / 1.715 GB, free: 91.3 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01476/4.97, allocations: 4.067 MB / 1.719 GB, free: 90.76 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 1 (currentSensorL.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (546): * Single equations (assignments): 525 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * 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 {(6,77.8%) 80} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001877/4.972, allocations: 433.3 kB / 1.719 GB, free: 90.67 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02316/4.995, allocations: 11.56 MB / 1.73 GB, free: 90.26 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.178e-05/4.995, allocations: 7.156 kB / 1.73 GB, free: 90.25 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01095/5.006, allocations: 4.792 MB / 1.735 GB, free: 90.01 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01052/5.017, allocations: 1.407 MB / 1.736 GB, free: 89.98 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0593/5.076, allocations: 25.46 MB / 1.761 GB, free: 85.44 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02414/5.1, allocations: 11.53 MB / 1.772 GB, free: 84.34 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01365/5.114, allocations: 3.95 MB / 1.776 GB, free: 84.07 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002988/5.117, allocations: 0.5064 MB / 1.777 GB, free: 84.06 MB / 0.573 GB Notification: Performance of SimCode: time 2.996e-06/5.117, allocations: 0 / 1.777 GB, free: 84.06 MB / 0.573 GB Notification: Performance of Templates: time 0.1979/5.315, allocations: 98.77 MB / 1.873 GB, free: 47.57 MB / 0.573 GB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches