Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00154/0.001539, allocations: 176.4 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 221.5 MB / 230.3 MB, free: 7.574 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.0009378/0.0009378, allocations: 92.06 kB / 281.2 MB, free: 5.336 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.652e-05/1.65e-05, allocations: 0 / 337 MB, free: 10.04 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1108, allocations: 50.42 MB / 387.5 MB, free: 7.574 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3613/0.4721, allocations: 88.78 MB / 476.2 MB, free: 6.062 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/0.4724, allocations: 79.95 kB / 476.3 MB, free: 5.984 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5265/0.999, allocations: 151 MB / 0.6126 GB, free: 91.83 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.108e-06/0.999, allocations: 0 / 0.6126 GB, free: 91.83 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002734/0.9993, allocations: 102.1 kB / 0.6127 GB, free: 91.81 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: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.01492/1.014, allocations: 4.052 MB / 0.6167 GB, free: 89.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/1.014, allocations: 11.31 kB / 0.6167 GB, free: 89.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006019/1.02, allocations: 0.968 MB / 0.6176 GB, free: 88.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006223/1.027, allocations: 2.737 MB / 0.6203 GB, free: 86.85 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002505/1.027, allocations: 138.8 kB / 0.6204 GB, free: 86.85 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00148/1.028, allocations: 247.5 kB / 0.6207 GB, free: 86.85 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01001/1.038, allocations: 4.546 MB / 0.6251 GB, free: 82.49 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01481/1.053, allocations: 5.851 MB / 0.6308 GB, free: 76.46 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001781/1.053, allocations: 7.859 kB / 0.6308 GB, free: 76.45 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001032/1.054, allocations: 4 kB / 0.6308 GB, free: 76.45 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003092/1.055, allocations: 317.4 kB / 0.6311 GB, free: 76.13 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03201/1.087, allocations: 19.84 MB / 0.6505 GB, free: 55.78 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0058/1.093, allocations: 5.755 MB / 0.6561 GB, free: 49.26 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009382/1.094, allocations: 0.7063 MB / 0.6568 GB, free: 48.55 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001536/1.094, allocations: 113.2 kB / 0.6569 GB, free: 48.42 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/1.094, allocations: 39.34 kB / 0.657 GB, free: 48.37 MB / 426.7 MB Notification: Performance of pre-optimization done (n=100): time 4.008e-06/1.094, allocations: 0 / 0.657 GB, free: 48.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=100): time 0.002339/1.096, allocations: 1.32 MB / 0.6583 GB, free: 47.04 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/1.096, allocations: 64.19 kB / 0.6583 GB, free: 46.97 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002166/1.098, allocations: 1.228 MB / 0.6595 GB, free: 45.73 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.448e-05/1.099, allocations: 29.7 kB / 0.6595 GB, free: 45.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009851/1.1, allocations: 1.959 MB / 0.6615 GB, free: 43.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002932/1.1, allocations: 355 kB / 0.6618 GB, free: 43.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/1.1, allocations: 0 / 0.6618 GB, free: 43.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002076/1.1, allocations: 447.3 kB / 0.6622 GB, free: 42.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001038/1.101, allocations: 0.8126 MB / 0.663 GB, free: 42.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001474/1.103, allocations: 1.918 MB / 0.6649 GB, free: 39.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002289/1.105, allocations: 1.559 MB / 0.6664 GB, free: 38.06 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.103e-05/1.105, allocations: 12 kB / 0.6664 GB, free: 38.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.004445/1.11, allocations: 2.847 MB / 0.6692 GB, free: 35.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.83e-05/1.11, allocations: 24.95 kB / 0.6692 GB, free: 35.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.499e-05/1.11, allocations: 40 kB / 0.6693 GB, free: 35.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.45e-05/1.11, allocations: 64 kB / 0.6693 GB, free: 35.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001595/1.111, allocations: 0.5381 MB / 0.6698 GB, free: 34.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.939e-05/1.111, allocations: 83.66 kB / 0.6699 GB, free: 34.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/1.113, allocations: 253.1 kB / 0.6702 GB, free: 34.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002028/1.113, allocations: 124 kB / 0.6703 GB, free: 34.08 MB / 426.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.0002861/1.114, allocations: 199.9 kB / 0.6705 GB, free: 33.88 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002721/1.114, allocations: 134.3 kB / 0.6706 GB, free: 33.74 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002546/1.116, allocations: 1.599 MB / 0.6722 GB, free: 32.12 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001609/1.118, allocations: 1.181 MB / 0.6733 GB, free: 30.94 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/1.118, allocations: 7.984 kB / 0.6733 GB, free: 30.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/1.118, allocations: 7.922 kB / 0.6733 GB, free: 30.92 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0152/1.133, allocations: 11.55 MB / 0.6846 GB, free: 18.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.117e-05/1.133, allocations: 20 kB / 0.6846 GB, free: 18.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007853/1.134, allocations: 219.7 kB / 0.6848 GB, free: 18.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.218e-05/1.134, allocations: 31.98 kB / 0.6849 GB, free: 18.52 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001099/1.134, allocations: 32 kB / 0.6849 GB, free: 18.49 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.038e-05/1.134, allocations: 35.86 kB / 0.6849 GB, free: 18.45 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-05/1.134, allocations: 31.88 kB / 0.685 GB, free: 18.42 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003749/1.138, allocations: 3.944 MB / 0.6888 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007274/1.139, allocations: 343 kB / 0.6891 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003539/1.139, allocations: 39.92 kB / 0.6892 GB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000964/1.14, allocations: 51.94 kB / 0.6892 GB, free: 13.35 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/1.14, allocations: 127.5 kB / 0.6894 GB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.737e-05/1.14, allocations: 55.98 kB / 0.6894 GB, free: 13.17 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001556/1.142, allocations: 0.9096 MB / 0.6903 GB, free: 12.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.01e-07/1.142, allocations: 4 kB / 0.6903 GB, free: 12.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003697/1.146, allocations: 0.8968 MB / 0.6912 GB, free: 11.35 MB / 426.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.0006083/1.146, allocations: 210 kB / 0.6914 GB, free: 11.14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003547/1.15, allocations: 1.819 MB / 0.6932 GB, free: 9.324 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.967e-05/1.15, allocations: 0 / 0.6932 GB, free: 9.324 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009829/1.151, allocations: 0.6105 MB / 0.6938 GB, free: 8.719 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002514/1.153, allocations: 336.7 kB / 0.6941 GB, free: 8.395 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01236/1.166, allocations: 5.671 MB / 0.6996 GB, free: 2.418 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004193/1.17, allocations: 3.133 MB / 0.7027 GB, free: 15.25 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002441/1.173, allocations: 0.8327 MB / 0.7035 GB, free: 14.41 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004505/1.173, allocations: 111.4 kB / 0.7036 GB, free: 14.3 MB / 442.7 MB Notification: Performance of SimCode: time 3.707e-06/1.173, allocations: 0 / 0.7036 GB, free: 14.3 MB / 442.7 MB Notification: Performance of Templates: time 0.2918/1.465, allocations: 16.34 MB / 0.7195 GB, free: 100.6 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches