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.001104/0.001104, allocations: 201.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 225.6 MB / 234.8 MB, free: 3.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009103/0.0009104, allocations: 98.89 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.681e-05/1.7e-05, allocations: 4 kB / 343.7 MB, free: 8.305 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1297, allocations: 51.48 MB / 395.2 MB, free: 4.785 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4067/0.5365, allocations: 104.5 MB / 499.6 MB, free: 4.887 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002017/0.5368, allocations: 87.08 kB / 499.7 MB, free: 4.844 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.992/3.528, allocations: 0.8405 GB / 1.328 GB, free: 33.39 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.334e-06/3.529, allocations: 0 / 1.328 GB, free: 33.39 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001301/3.53, allocations: 389.8 kB / 1.329 GB, free: 33.34 MB / 0.4948 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.05596/3.586, allocations: 15.96 MB / 1.344 GB, free: 28.88 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/3.586, allocations: 6.969 kB / 1.344 GB, free: 28.88 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03175/3.618, allocations: 6.063 MB / 1.35 GB, free: 27.96 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02485/3.643, allocations: 12 MB / 1.362 GB, free: 26.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009006/3.643, allocations: 0.5436 MB / 1.363 GB, free: 26.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006547/3.65, allocations: 0.9629 MB / 1.364 GB, free: 26.59 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0474/3.697, allocations: 21.29 MB / 1.384 GB, free: 26.52 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06739/3.765, allocations: 25.4 MB / 1.409 GB, free: 22.84 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005281/3.765, allocations: 20.78 kB / 1.409 GB, free: 22.83 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004446/3.77, allocations: 13.66 kB / 1.409 GB, free: 22.83 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001223/3.771, allocations: 1.301 MB / 1.41 GB, free: 22.47 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5386/4.31, allocations: 85.07 MB / 1.494 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04236/4.352, allocations: 35.16 MB / 1.528 GB, free: 31.61 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01309/4.365, allocations: 5.219 MB / 1.533 GB, free: 31.54 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001186/4.367, allocations: 290.5 kB / 1.533 GB, free: 31.34 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001209/4.367, allocations: 96.86 kB / 1.533 GB, free: 31.3 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=613): time 1.384e-05/4.367, allocations: 0.6562 kB / 1.533 GB, free: 31.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=613): time 0.03822/4.405, allocations: 10.33 MB / 1.543 GB, free: 30.95 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/4.405, allocations: 147.3 kB / 1.544 GB, free: 30.84 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01422/4.419, allocations: 5.233 MB / 1.549 GB, free: 30.45 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001923/4.421, allocations: 26.61 kB / 1.549 GB, free: 30.41 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.009954/4.431, allocations: 7.559 MB / 1.556 GB, free: 26.62 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.00364/4.435, allocations: 2.043 MB / 1.558 GB, free: 25.31 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001103/4.436, allocations: 0 / 1.558 GB, free: 25.31 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0009312/4.437, allocations: 0.7475 MB / 1.559 GB, free: 24.99 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01091/4.448, allocations: 4.748 MB / 1.563 GB, free: 24.96 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01844/4.466, allocations: 9.396 MB / 1.573 GB, free: 19.15 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03134/4.498, allocations: 9.039 MB / 1.581 GB, free: 18.94 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003866/4.498, allocations: 49.94 kB / 1.581 GB, free: 18.93 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1365) (initialization): time 0.05809/4.556, allocations: 16.53 MB / 1.598 GB, free: 18.23 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002134/4.557, allocations: 74.75 kB / 1.598 GB, free: 18.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003715/4.557, allocations: 156.9 kB / 1.598 GB, free: 18.23 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005284/4.562, allocations: 1.501 MB / 1.599 GB, free: 18.17 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01397/4.576, allocations: 2.361 MB / 1.602 GB, free: 18.17 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02216/4.599, allocations: 11.71 MB / 1.613 GB, free: 16.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01345/4.612, allocations: 1.175 MB / 1.614 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003318/4.615, allocations: 0.5324 MB / 1.615 GB, free: 15.86 MB / 0.5417 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 (1242): * Single equations (assignments): 1221 * 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%) 98} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003067/4.619, allocations: 0.4955 MB / 1.615 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002356/4.621, allocations: 0.6043 MB / 1.616 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03762/4.659, allocations: 12.05 MB / 1.628 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03133/4.69, allocations: 9.734 MB / 1.637 GB, free: 9.895 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-05/4.69, allocations: 19.25 kB / 1.637 GB, free: 9.895 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.679e-05/4.69, allocations: 34.31 kB / 1.637 GB, free: 9.891 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1132/4.803, allocations: 27.08 MB / 1.664 GB, free: 11.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.891e-05/4.804, allocations: 8.938 kB / 1.664 GB, free: 11.74 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00596/4.81, allocations: 1.047 MB / 1.665 GB, free: 10.94 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00355/4.813, allocations: 1.144 MB / 1.666 GB, free: 10.01 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0012/4.814, allocations: 46.41 kB / 1.666 GB, free: 9.973 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01313/4.827, allocations: 10.08 MB / 1.676 GB, free: 1.117 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.16e-05/4.828, allocations: 11.66 kB / 1.676 GB, free: 1.109 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4605/5.288, allocations: 17.45 MB / 1.693 GB, free: 81.79 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003685/5.292, allocations: 1.51 MB / 1.694 GB, free: 81.49 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001154/5.293, allocations: 13.48 kB / 1.694 GB, free: 81.49 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003227/5.296, allocations: 268.1 kB / 1.694 GB, free: 81.49 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009156/5.297, allocations: 411.5 kB / 1.695 GB, free: 81.47 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003946/5.297, allocations: 175 kB / 1.695 GB, free: 81.47 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.006448/5.304, allocations: 3.804 MB / 1.699 GB, free: 81.29 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.7e-07/5.304, allocations: 0 / 1.699 GB, free: 81.29 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01704/5.321, allocations: 3.777 MB / 1.702 GB, free: 80.74 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (544): * Single equations (assignments): 523 * 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,80.6%) 80} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002118/5.323, allocations: 288.7 kB / 1.703 GB, free: 80.66 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0241/5.347, allocations: 11.38 MB / 1.714 GB, free: 80.25 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-05/5.347, allocations: 3.125 kB / 1.714 GB, free: 80.25 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0102/5.358, allocations: 4.783 MB / 1.718 GB, free: 80.04 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01041/5.368, allocations: 1.188 MB / 1.72 GB, free: 80.02 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07046/5.438, allocations: 25.34 MB / 1.744 GB, free: 75.53 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02587/5.464, allocations: 11.53 MB / 1.756 GB, free: 74.42 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0149/5.479, allocations: 3.95 MB / 1.759 GB, free: 74.15 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003895/5.483, allocations: 0.4944 MB / 1.76 GB, free: 74.14 MB / 0.5573 GB Notification: Performance of SimCode: time 2.344e-06/5.483, allocations: 0 / 1.76 GB, free: 74.14 MB / 0.5573 GB Notification: Performance of Templates: time 0.1644/5.648, allocations: 89.65 MB / 1.847 GB, free: 42.23 MB / 0.5573 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