Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 174.7 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.481/1.481, allocations: 221.3 MB / 235.5 MB, free: 2.938 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.0007876/0.0007877, allocations: 84.09 kB / 286.5 MB, free: 220 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.929e-05/3.933e-05, allocations: 0 / 343.8 MB, free: 4.301 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1059, allocations: 50.42 MB / 394.3 MB, free: 1.844 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.305/0.4109, allocations: 89.35 MB / 483.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.4112, allocations: 85.25 kB / 483.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4678/0.879, allocations: 135.5 MB / 0.6046 GB, free: 94.98 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.8791, allocations: 4 kB / 0.6046 GB, free: 94.98 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001376/0.8792, allocations: 89.94 kB / 0.6047 GB, free: 94.96 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.01007/0.8893, allocations: 3.695 MB / 0.6083 GB, free: 92.58 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.8893, allocations: 15.23 kB / 0.6083 GB, free: 92.58 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005196/0.8945, allocations: 0.9351 MB / 0.6093 GB, free: 92.13 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004091/0.8987, allocations: 2.429 MB / 0.6116 GB, free: 90.46 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001662/0.8988, allocations: 292.6 kB / 0.6119 GB, free: 90.33 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006526/0.8995, allocations: 382.1 kB / 0.6123 GB, free: 90.21 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008886/0.9084, allocations: 5.815 MB / 0.6179 GB, free: 86.61 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.622e-05/0.9085, allocations: 11.91 kB / 0.618 GB, free: 86.6 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003593/0.9089, allocations: 164 kB / 0.6181 GB, free: 86.44 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001878/0.9091, allocations: 280.5 kB / 0.6184 GB, free: 86.16 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006154/0.9152, allocations: 4.263 MB / 0.6225 GB, free: 81.89 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02054/0.9358, allocations: 18.63 MB / 0.6407 GB, free: 62.77 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003794/0.9396, allocations: 3.88 MB / 0.6445 GB, free: 58.42 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/0.9408, allocations: 0.8372 MB / 0.6453 GB, free: 57.59 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001197/0.9409, allocations: 101.1 kB / 0.6454 GB, free: 57.47 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.9409, allocations: 43.56 kB / 0.6455 GB, free: 57.42 MB / 426.7 MB Notification: Performance of pre-optimization done (n=106): time 2.806e-06/0.9409, allocations: 0 / 0.6455 GB, free: 57.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=106): time 0.001526/0.9425, allocations: 1.164 MB / 0.6466 GB, free: 56.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.9425, allocations: 64.36 kB / 0.6467 GB, free: 56.17 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/0.9439, allocations: 1.188 MB / 0.6478 GB, free: 54.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.998e-05/0.944, allocations: 41.7 kB / 0.6479 GB, free: 54.91 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006142/0.9446, allocations: 1.756 MB / 0.6496 GB, free: 53.14 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000232/0.9448, allocations: 381.9 kB / 0.65 GB, free: 52.78 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.391e-05/0.9449, allocations: 40 kB / 0.65 GB, free: 52.74 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.9451, allocations: 443.1 kB / 0.6504 GB, free: 52.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009745/0.946, allocations: 0.8437 MB / 0.6512 GB, free: 51.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/0.9473, allocations: 1.837 MB / 0.653 GB, free: 49.12 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/0.9487, allocations: 1.304 MB / 0.6543 GB, free: 47.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-05/0.9487, allocations: 8 kB / 0.6543 GB, free: 47.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.003585/0.9523, allocations: 2.765 MB / 0.657 GB, free: 45.04 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.954e-05/0.9524, allocations: 23.98 kB / 0.657 GB, free: 45.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.343e-05/0.9524, allocations: 32.91 kB / 0.6571 GB, free: 44.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.865e-05/0.9525, allocations: 52 kB / 0.6571 GB, free: 44.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001583/0.9541, allocations: 0.5303 MB / 0.6576 GB, free: 44.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.321e-05/0.9542, allocations: 67.78 kB / 0.6577 GB, free: 44.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/0.9556, allocations: 297.1 kB / 0.658 GB, free: 44.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001615/0.9558, allocations: 112 kB / 0.6581 GB, free: 43.93 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 156 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (275): * Single equations (assignments): 271 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002744/0.9561, allocations: 255.9 kB / 0.6583 GB, free: 43.68 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002414/0.9563, allocations: 122.5 kB / 0.6585 GB, free: 43.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002363/0.9587, allocations: 1.513 MB / 0.6599 GB, free: 42.03 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001234/0.96, allocations: 1.08 MB / 0.661 GB, free: 40.94 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.96, allocations: 0 / 0.661 GB, free: 40.94 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.96, allocations: 3.984 kB / 0.661 GB, free: 40.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01328/0.9733, allocations: 12.14 MB / 0.6729 GB, free: 28.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.89e-05/0.9733, allocations: 23.94 kB / 0.6729 GB, free: 28.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007493/0.9741, allocations: 231.5 kB / 0.6731 GB, free: 27.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.436e-05/0.9741, allocations: 32.03 kB / 0.6731 GB, free: 27.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.623e-05/0.9742, allocations: 55.98 kB / 0.6732 GB, free: 27.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.051e-05/0.9742, allocations: 39.86 kB / 0.6732 GB, free: 27.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.51e-05/0.9743, allocations: 35.81 kB / 0.6733 GB, free: 27.71 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00289/0.9771, allocations: 3.924 MB / 0.6771 GB, free: 22.99 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003598/0.9775, allocations: 239.2 kB / 0.6773 GB, free: 22.74 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001506/0.9777, allocations: 51.98 kB / 0.6774 GB, free: 22.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007309/0.9784, allocations: 76 kB / 0.6774 GB, free: 22.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/0.9786, allocations: 147.4 kB / 0.6776 GB, free: 22.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.961e-05/0.9787, allocations: 59.98 kB / 0.6776 GB, free: 22.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001108/0.9798, allocations: 0.8797 MB / 0.6785 GB, free: 21.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.9798, allocations: 0 / 0.6785 GB, free: 21.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002562/0.9823, allocations: 0.8858 MB / 0.6794 GB, free: 20.63 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * Number of states: 1 (currentSensor31.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 105 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004416/0.9828, allocations: 265.4 kB / 0.6796 GB, free: 20.37 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002548/0.9854, allocations: 1.911 MB / 0.6815 GB, free: 18.46 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/0.9854, allocations: 0 / 0.6815 GB, free: 18.46 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007563/0.9861, allocations: 0.6589 MB / 0.6821 GB, free: 17.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/0.9877, allocations: 324.6 kB / 0.6824 GB, free: 17.49 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008591/0.9964, allocations: 5.302 MB / 0.6876 GB, free: 11.85 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00205/0.9984, allocations: 2.871 MB / 0.6904 GB, free: 8.945 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001858/1, allocations: 0.7656 MB / 0.6912 GB, free: 8.172 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002522/1.001, allocations: 111.4 kB / 0.6913 GB, free: 8.062 MB / 426.7 MB Notification: Performance of SimCode: time 6.11e-07/1.001, allocations: 0 / 0.6913 GB, free: 8.062 MB / 426.7 MB Notification: Performance of Templates: time 0.02879/1.029, allocations: 16.47 MB / 0.7074 GB, free: 7.688 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches