Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.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.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00183/0.00183, allocations: 174.6 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 221.3 MB / 235.5 MB, free: 2.922 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.000901/0.000901, allocations: 97.84 kB / 286.5 MB, free: 228 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.278e-05/3.288e-05, allocations: 0 / 343.8 MB, free: 4.312 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1006, allocations: 50.41 MB / 394.2 MB, free: 1.859 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3091/0.4098, allocations: 104.3 MB / 498.5 MB, free: 15.23 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001981/0.41, allocations: 83.78 kB / 498.6 MB, free: 15.15 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.857/3.267, allocations: 0.8056 GB / 1.292 GB, free: 35.04 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.274e-06/3.267, allocations: 0 / 1.292 GB, free: 35.04 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001071/3.268, allocations: 389.5 kB / 1.293 GB, free: 35 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.06681/3.335, allocations: 15.94 MB / 1.308 GB, free: 30.57 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.099e-05/3.335, allocations: 14.12 kB / 1.308 GB, free: 30.56 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03187/3.367, allocations: 6.058 MB / 1.314 GB, free: 29.66 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03465/3.402, allocations: 12 MB / 1.326 GB, free: 28.29 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001816/3.404, allocations: 1.249 MB / 1.327 GB, free: 28.25 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008423/3.412, allocations: 1.64 MB / 1.329 GB, free: 28.25 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09164/3.504, allocations: 28.1 MB / 1.356 GB, free: 26.15 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000938/3.505, allocations: 16.97 kB / 1.356 GB, free: 26.15 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008463/3.513, allocations: 0.7092 MB / 1.357 GB, free: 26.15 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002303/3.516, allocations: 1.296 MB / 1.358 GB, free: 26.11 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07068/3.586, allocations: 22.22 MB / 1.38 GB, free: 23.89 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6798/4.266, allocations: 87.24 MB / 1.465 GB, free: 44.52 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02938/4.296, allocations: 35.26 MB / 1.5 GB, free: 33.27 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009646/4.305, allocations: 5.381 MB / 1.505 GB, free: 33.21 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007611/4.306, allocations: 205.4 kB / 1.505 GB, free: 33.11 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001287/4.306, allocations: 102.6 kB / 1.505 GB, free: 33.06 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=613): time 1.081e-05/4.306, allocations: 0 / 1.505 GB, free: 33.06 MB / 0.5417 GB Notification: Performance of matching and sorting (n=613): time 0.01599/4.322, allocations: 8.437 MB / 1.513 GB, free: 32.8 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.498e-05/4.322, allocations: 145 kB / 1.514 GB, free: 32.7 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008457/4.331, allocations: 5.68 MB / 1.519 GB, free: 32.34 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0009087/4.332, allocations: 121.1 kB / 1.519 GB, free: 32.3 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.003958/4.336, allocations: 7.559 MB / 1.527 GB, free: 28.59 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.002098/4.338, allocations: 2.126 MB / 1.529 GB, free: 27.28 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000604/4.339, allocations: 209.8 kB / 1.529 GB, free: 27.28 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000554/4.339, allocations: 0.7493 MB / 1.53 GB, free: 26.95 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006568/4.346, allocations: 4.796 MB / 1.534 GB, free: 26.93 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01079/4.356, allocations: 9.491 MB / 1.544 GB, free: 21.09 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009929/4.366, allocations: 7.249 MB / 1.551 GB, free: 20.89 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001824/4.367, allocations: 44.25 kB / 1.551 GB, free: 20.89 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1365) (initialization): time 0.02492/4.392, allocations: 15.5 MB / 1.566 GB, free: 20.18 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001468/4.392, allocations: 81.7 kB / 1.566 GB, free: 20.17 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002934/4.392, allocations: 159.8 kB / 1.566 GB, free: 20.17 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003166/4.395, allocations: 1.378 MB / 1.567 GB, free: 20.13 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008404/4.404, allocations: 2.355 MB / 1.57 GB, free: 20.13 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01345/4.417, allocations: 10.76 MB / 1.58 GB, free: 18.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008124/4.425, allocations: 1.366 MB / 1.582 GB, free: 17.84 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002028/4.427, allocations: 0.5421 MB / 1.582 GB, free: 17.83 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 (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.002478/4.43, allocations: 0.7921 MB / 1.583 GB, free: 17.62 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001245/4.431, allocations: 0.62 MB / 1.583 GB, free: 17.29 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01579/4.447, allocations: 10.44 MB / 1.594 GB, free: 16.77 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01074/4.458, allocations: 8.018 MB / 1.601 GB, free: 16.5 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.116e-05/4.458, allocations: 11.34 kB / 1.601 GB, free: 16.5 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.668e-05/4.458, allocations: 29.44 kB / 1.601 GB, free: 16.5 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04848/4.506, allocations: 26.01 MB / 1.627 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.929e-05/4.506, allocations: 8 kB / 1.627 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005025/4.511, allocations: 1.006 MB / 1.628 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003163/4.515, allocations: 1.17 MB / 1.629 GB, free: 9.828 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001022/4.516, allocations: 128.2 kB / 1.629 GB, free: 9.785 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01343/4.529, allocations: 10.37 MB / 1.639 GB, free: 1.398 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.788e-06/4.529, allocations: 11.09 kB / 1.639 GB, free: 1.391 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02347/4.553, allocations: 15.87 MB / 1.655 GB, free: 2.762 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004792/4.557, allocations: 1.492 MB / 1.656 GB, free: 1.383 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001786/4.559, allocations: 114.3 kB / 1.656 GB, free: 1.273 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004229/4.564, allocations: 331.5 kB / 1.657 GB, free: 1.043 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00112/4.565, allocations: 417 kB / 1.657 GB, free: 0.7852 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000446/4.565, allocations: 172.8 kB / 1.657 GB, free: 0.625 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.3963/4.961, allocations: 5.13 MB / 1.662 GB, free: 84 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.31e-07/4.961, allocations: 1.656 kB / 1.662 GB, free: 84 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01746/4.979, allocations: 4.066 MB / 1.666 GB, free: 83.93 MB / 0.5573 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.002283/4.981, allocations: 433.2 kB / 1.667 GB, free: 83.84 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02421/5.005, allocations: 11.56 MB / 1.678 GB, free: 83.42 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.797e-05/5.006, allocations: 0.8125 kB / 1.678 GB, free: 83.42 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.009399/5.015, allocations: 4.794 MB / 1.683 GB, free: 83.17 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008838/5.024, allocations: 1.41 MB / 1.684 GB, free: 83.15 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05974/5.084, allocations: 25.35 MB / 1.709 GB, free: 78.61 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0226/5.106, allocations: 11.52 MB / 1.72 GB, free: 77.53 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01191/5.118, allocations: 3.951 MB / 1.724 GB, free: 77.25 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002518/5.121, allocations: 0.5132 MB / 1.724 GB, free: 77.25 MB / 0.5573 GB Notification: Performance of SimCode: time 1.283e-06/5.121, allocations: 0 / 1.724 GB, free: 77.25 MB / 0.5573 GB Notification: Performance of Templates: time 0.1607/5.281, allocations: 98.87 MB / 1.821 GB, free: 47.75 MB / 0.5573 GB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches