Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009987/0.0009987, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 225.6 MB / 234.8 MB, free: 3.246 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008275/0.0008276, allocations: 97.75 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.438e-05/1.439e-05, allocations: 4 kB / 343.7 MB, free: 8.285 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09769/0.09772, allocations: 51.47 MB / 395.2 MB, free: 4.773 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3648/0.4626, allocations: 89.65 MB / 484.8 MB, free: 3.574 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/0.4629, allocations: 82.75 kB / 484.9 MB, free: 3.535 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5328/0.9957, allocations: 159.5 MB / 0.6293 GB, free: 82.55 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.9958, allocations: 0 / 0.6293 GB, free: 82.55 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001688/0.996, allocations: 95.02 kB / 0.6294 GB, free: 82.54 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.01183/1.008, allocations: 4.084 MB / 0.6334 GB, free: 80.69 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/1.008, allocations: 13.66 kB / 0.6334 GB, free: 80.68 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005808/1.014, allocations: 0.9791 MB / 0.6343 GB, free: 80.39 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005488/1.019, allocations: 2.728 MB / 0.637 GB, free: 78.88 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002197/1.019, allocations: 143.9 kB / 0.6371 GB, free: 78.88 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009612/1.02, allocations: 248.2 kB / 0.6374 GB, free: 78.88 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008635/1.029, allocations: 4.55 MB / 0.6418 GB, free: 76.86 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009503/1.039, allocations: 5.842 MB / 0.6475 GB, free: 74.23 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.94e-05/1.039, allocations: 11.84 kB / 0.6475 GB, free: 74.22 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000332/1.039, allocations: 6.047 kB / 0.6475 GB, free: 74.22 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002526/1.039, allocations: 316.3 kB / 0.6478 GB, free: 74.13 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02657/1.066, allocations: 20.08 MB / 0.6674 GB, free: 62.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005706/1.072, allocations: 5.749 MB / 0.673 GB, free: 57.72 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008926/1.073, allocations: 0.7064 MB / 0.6737 GB, free: 57.48 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001929/1.073, allocations: 184.2 kB / 0.6739 GB, free: 57.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/1.073, allocations: 43.09 kB / 0.674 GB, free: 57.25 MB / 442.7 MB Notification: Performance of pre-optimization done (n=100): time 3.115e-06/1.073, allocations: 0 / 0.674 GB, free: 57.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=100): time 0.003211/1.076, allocations: 1.441 MB / 0.6754 GB, free: 56.81 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/1.076, allocations: 59.75 kB / 0.6754 GB, free: 56.74 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002482/1.079, allocations: 1.247 MB / 0.6766 GB, free: 56.2 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001086/1.079, allocations: 25.7 kB / 0.6767 GB, free: 56.17 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001457/1.08, allocations: 1.959 MB / 0.6786 GB, free: 54.68 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003584/1.081, allocations: 353.5 kB / 0.6789 GB, free: 54.42 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.862e-05/1.081, allocations: 0 / 0.6789 GB, free: 54.42 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002603/1.081, allocations: 455.5 kB / 0.6793 GB, free: 54.05 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001187/1.082, allocations: 0.8029 MB / 0.6801 GB, free: 53.76 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001963/1.084, allocations: 1.925 MB / 0.682 GB, free: 51.93 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003515/1.088, allocations: 1.694 MB / 0.6837 GB, free: 51.38 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.619e-05/1.088, allocations: 11.09 kB / 0.6837 GB, free: 51.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.005423/1.093, allocations: 2.991 MB / 0.6866 GB, free: 50.4 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.36e-05/1.093, allocations: 21.91 kB / 0.6866 GB, free: 50.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.884e-05/1.093, allocations: 42.78 kB / 0.6867 GB, free: 50.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.331e-05/1.093, allocations: 63.23 kB / 0.6867 GB, free: 50.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001577/1.095, allocations: 0.5437 MB / 0.6872 GB, free: 50.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.77e-05/1.095, allocations: 76.41 kB / 0.6873 GB, free: 50.31 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001725/1.097, allocations: 254.2 kB / 0.6876 GB, free: 50.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001929/1.097, allocations: 131.9 kB / 0.6877 GB, free: 50.15 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (285): * Single equations (assignments): 281 * 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.0003202/1.097, allocations: 202.9 kB / 0.6879 GB, free: 49.96 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003278/1.098, allocations: 126.2 kB / 0.688 GB, free: 49.89 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003535/1.101, allocations: 1.697 MB / 0.6897 GB, free: 49.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002307/1.103, allocations: 1.28 MB / 0.6909 GB, free: 48.68 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/1.103, allocations: 0 / 0.6909 GB, free: 48.68 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/1.103, allocations: 7.766 kB / 0.6909 GB, free: 48.68 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01543/1.119, allocations: 12.96 MB / 0.7036 GB, free: 35.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.897e-05/1.119, allocations: 20 kB / 0.7036 GB, free: 35.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007179/1.12, allocations: 215.5 kB / 0.7038 GB, free: 35.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.789e-05/1.12, allocations: 28 kB / 0.7038 GB, free: 35.02 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.441e-05/1.12, allocations: 32 kB / 0.7039 GB, free: 34.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-05/1.12, allocations: 39.86 kB / 0.7039 GB, free: 34.95 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.652e-05/1.12, allocations: 31.83 kB / 0.7039 GB, free: 34.91 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003947/1.124, allocations: 4.043 MB / 0.7079 GB, free: 30.19 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006023/1.124, allocations: 347 kB / 0.7082 GB, free: 29.83 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001562/1.125, allocations: 27.98 kB / 0.7082 GB, free: 29.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006991/1.125, allocations: 51.94 kB / 0.7083 GB, free: 29.75 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/1.125, allocations: 135.5 kB / 0.7084 GB, free: 29.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.403e-05/1.126, allocations: 55.98 kB / 0.7085 GB, free: 29.56 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001198/1.127, allocations: 0.9096 MB / 0.7094 GB, free: 28.65 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.4e-07/1.127, allocations: 0 / 0.7094 GB, free: 28.65 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003021/1.13, allocations: 0.9046 MB / 0.7102 GB, free: 27.74 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 87 * Number of states: 1 (currentSensor0.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 97 * 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.0004556/1.13, allocations: 211.9 kB / 0.7104 GB, free: 27.53 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002566/1.133, allocations: 1.819 MB / 0.7122 GB, free: 25.71 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/1.133, allocations: 0 / 0.7122 GB, free: 25.71 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006586/1.134, allocations: 0.6105 MB / 0.7128 GB, free: 25.11 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001916/1.135, allocations: 336.8 kB / 0.7131 GB, free: 24.78 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008548/1.144, allocations: 5.662 MB / 0.7187 GB, free: 18.81 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002206/1.146, allocations: 3.137 MB / 0.7217 GB, free: 15.64 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001794/1.148, allocations: 0.8289 MB / 0.7225 GB, free: 14.81 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002272/1.148, allocations: 115.4 kB / 0.7226 GB, free: 14.7 MB / 442.7 MB Notification: Performance of SimCode: time 1.262e-06/1.148, allocations: 0 / 0.7226 GB, free: 14.7 MB / 442.7 MB Notification: Performance of Templates: time 0.2955/1.444, allocations: 16.25 MB / 0.7385 GB, free: 75.09 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches