Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001462/0.001462, allocations: 172.2 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.602/1.602, allocations: 205.2 MB / 219.8 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008746/0.0008746, allocations: 82 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.486e-05/2.498e-05, allocations: 4 kB / 322.5 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1051, allocations: 47.58 MB / 370 MB, free: 1.711 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3728/0.4779, allocations: 89.36 MB / 459.4 MB, free: 4.023 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/0.4782, allocations: 85.17 kB / 459.5 MB, free: 3.98 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5156/0.9938, allocations: 156.4 MB / 0.6014 GB, free: 82.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.9939, allocations: 0 / 0.6014 GB, free: 82.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001844/0.9941, allocations: 99.88 kB / 0.6015 GB, free: 82.88 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.01363/1.008, allocations: 4.21 MB / 0.6056 GB, free: 78.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/1.008, allocations: 8.031 kB / 0.6056 GB, free: 78.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009451/1.017, allocations: 1.69 MB / 0.6073 GB, free: 76.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00538/1.023, allocations: 2.69 MB / 0.6099 GB, free: 74.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004324/1.023, allocations: 348.7 kB / 0.6103 GB, free: 73.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001665/1.025, allocations: 443 kB / 0.6107 GB, free: 73.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01487/1.04, allocations: 7.474 MB / 0.618 GB, free: 65.81 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001054/1.04, allocations: 0 / 0.618 GB, free: 65.81 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005198/1.04, allocations: 198.8 kB / 0.6182 GB, free: 65.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002375/1.041, allocations: 297.4 kB / 0.6184 GB, free: 65.33 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01095/1.052, allocations: 6.094 MB / 0.6244 GB, free: 59.22 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03808/1.09, allocations: 23.25 MB / 0.6471 GB, free: 35.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005759/1.095, allocations: 6.43 MB / 0.6534 GB, free: 28.97 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003869/1.099, allocations: 3.277 MB / 0.6566 GB, free: 25.67 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01433/1.114, allocations: 10.83 MB / 0.6672 GB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/1.114, allocations: 60.52 kB / 0.6672 GB, free: 14.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=319): time 5.2e-06/1.114, allocations: 0 / 0.6672 GB, free: 14.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=319): time 0.00615/1.12, allocations: 5.165 MB / 0.6723 GB, free: 9.461 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/1.12, allocations: 73.41 kB / 0.6723 GB, free: 9.379 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/1.121, allocations: 1.06 MB / 0.6734 GB, free: 8.297 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001985/1.122, allocations: 61.7 kB / 0.6734 GB, free: 8.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000617/1.122, allocations: 1.682 MB / 0.6751 GB, free: 6.531 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006882/1.123, allocations: 1.055 MB / 0.6761 GB, free: 5.484 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001711/1.123, allocations: 63.94 kB / 0.6762 GB, free: 5.422 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000231/1.123, allocations: 0.4944 MB / 0.6766 GB, free: 4.918 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002614/1.126, allocations: 2.181 MB / 0.6788 GB, free: 2.734 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2418/1.368, allocations: 2.887 MB / 0.6816 GB, free: 80.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005211/1.373, allocations: 2.687 MB / 0.6842 GB, free: 80 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.094e-05/1.373, allocations: 5.906 kB / 0.6842 GB, free: 80 MB / 410.7 MB Notification: Performance of matching and sorting (n=451) (initialization): time 0.0108/1.384, allocations: 6.246 MB / 0.6903 GB, free: 79.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.373e-05/1.384, allocations: 13.75 kB / 0.6903 GB, free: 79.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-05/1.384, allocations: 20.16 kB / 0.6903 GB, free: 79.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002321/1.386, allocations: 1.414 MB / 0.6917 GB, free: 79.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002552/1.389, allocations: 0.5123 MB / 0.6922 GB, free: 79.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005495/1.395, allocations: 5.155 MB / 0.6973 GB, free: 77.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002571/1.397, allocations: 377.1 kB / 0.6976 GB, free: 77.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004836/1.398, allocations: 141.3 kB / 0.6978 GB, free: 77.69 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 89 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (301): * Single equations (assignments): 239 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 58 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.0005935/1.398, allocations: 259.2 kB / 0.698 GB, free: 77.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005587/1.399, allocations: 173.6 kB / 0.6982 GB, free: 77.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00937/1.408, allocations: 5.589 MB / 0.7036 GB, free: 77.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006426/1.415, allocations: 5.123 MB / 0.7086 GB, free: 77.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-05/1.415, allocations: 6.609 kB / 0.7086 GB, free: 77.15 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/1.415, allocations: 13.94 kB / 0.7087 GB, free: 77.15 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01572/1.43, allocations: 11.12 MB / 0.7195 GB, free: 75.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/1.431, allocations: 0 / 0.7195 GB, free: 75.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00125/1.432, allocations: 281.6 kB / 0.7198 GB, free: 75.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001895/1.434, allocations: 1.39 MB / 0.7211 GB, free: 74.56 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003472/1.434, allocations: 69.17 kB / 0.7212 GB, free: 74.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004185/1.438, allocations: 5.128 MB / 0.7262 GB, free: 71.19 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/1.438, allocations: 0 / 0.7262 GB, free: 71.19 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01114/1.449, allocations: 8.509 MB / 0.7345 GB, free: 67.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001727/1.451, allocations: 0.734 MB / 0.7352 GB, free: 67.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003406/1.452, allocations: 35.66 kB / 0.7353 GB, free: 67.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009429/1.453, allocations: 90.39 kB / 0.7354 GB, free: 67.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004466/1.453, allocations: 240.4 kB / 0.7356 GB, free: 67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002138/1.453, allocations: 83.47 kB / 0.7357 GB, free: 66.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009836/1.454, allocations: 0.7743 MB / 0.7364 GB, free: 66.65 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.31e-07/1.454, allocations: 0 / 0.7364 GB, free: 66.65 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003075/1.457, allocations: 1.082 MB / 0.7375 GB, free: 66.42 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (174): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 58 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005271/1.458, allocations: 213.5 kB / 0.7377 GB, free: 66.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007409/1.465, allocations: 5.111 MB / 0.7427 GB, free: 64.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/1.465, allocations: 0 / 0.7427 GB, free: 64.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003418/1.469, allocations: 2.452 MB / 0.7451 GB, free: 63.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001947/1.471, allocations: 313.8 kB / 0.7454 GB, free: 63.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01573/1.486, allocations: 8.359 MB / 0.7535 GB, free: 56.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002518/1.489, allocations: 3.328 MB / 0.7568 GB, free: 54.17 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001891/1.491, allocations: 0.5905 MB / 0.7574 GB, free: 53.76 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003339/1.491, allocations: 125.8 kB / 0.7575 GB, free: 53.64 MB / 410.7 MB Notification: Performance of SimCode: time 9.01e-07/1.491, allocations: 0 / 0.7575 GB, free: 53.64 MB / 410.7 MB Notification: Performance of Templates: time 0.06464/1.556, allocations: 43.58 MB / 0.8 GB, free: 20.68 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingStar/BalancingStar.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches