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.001038/0.001038, allocations: 182.6 kB / 18.04 MB, free: 3.785 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.393/1.393, allocations: 205.4 MB / 224.2 MB, free: 9.043 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.0007494/0.0007495, allocations: 86.41 kB / 272.5 MB, free: 8.285 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002794/0.0002794, allocations: 8 kB / 329.5 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1907, allocations: 47.57 MB / 377 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09113/0.2819, allocations: 89.59 MB / 466.6 MB, free: 6.965 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/0.2822, allocations: 87.95 kB / 466.7 MB, free: 6.879 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4232/0.7054, allocations: 156 MB / 0.6081 GB, free: 7.074 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.887e-06/0.7055, allocations: 0 / 0.6081 GB, free: 7.074 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002644/0.7058, allocations: 103.9 kB / 0.6082 GB, free: 6.973 MB / 378.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.01212/0.7179, allocations: 4.297 MB / 0.6124 GB, free: 2.609 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.7179, allocations: 12.03 kB / 0.6124 GB, free: 2.598 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008996/0.727, allocations: 1.689 MB / 0.6141 GB, free: 0.9023 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005781/0.7328, allocations: 2.72 MB / 0.6167 GB, free: 14.13 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005629/0.7334, allocations: 354.3 kB / 0.6171 GB, free: 13.78 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001834/0.7352, allocations: 448 kB / 0.6175 GB, free: 13.34 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01683/0.7521, allocations: 7.581 MB / 0.6249 GB, free: 5.582 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001566/0.7523, allocations: 7.938 kB / 0.6249 GB, free: 5.574 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001226/0.7535, allocations: 188 kB / 0.6251 GB, free: 5.391 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003416/0.7539, allocations: 305.3 kB / 0.6254 GB, free: 5.09 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0118/0.7657, allocations: 6.175 MB / 0.6314 GB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2038/0.9695, allocations: 23.29 MB / 0.6542 GB, free: 64.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005355/0.9749, allocations: 6.449 MB / 0.6605 GB, free: 61.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00364/0.9786, allocations: 3.309 MB / 0.6637 GB, free: 61.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01444/0.9931, allocations: 10.82 MB / 0.6743 GB, free: 60.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.962e-05/0.9932, allocations: 63.95 kB / 0.6743 GB, free: 60.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=319): time 5.931e-06/0.9932, allocations: 0 / 0.6743 GB, free: 60.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=319): time 0.01148/1.005, allocations: 8.113 MB / 0.6822 GB, free: 59.58 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/1.005, allocations: 78.41 kB / 0.6823 GB, free: 59.51 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/1.006, allocations: 1.188 MB / 0.6835 GB, free: 59.35 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001612/1.006, allocations: 59.36 kB / 0.6835 GB, free: 59.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000631/1.007, allocations: 1.683 MB / 0.6852 GB, free: 58.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006244/1.008, allocations: 1.056 MB / 0.6862 GB, free: 58.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001702/1.008, allocations: 59 kB / 0.6863 GB, free: 58.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002173/1.008, allocations: 0.4893 MB / 0.6867 GB, free: 57.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002612/1.011, allocations: 2.203 MB / 0.6889 GB, free: 57.69 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00296/1.014, allocations: 2.929 MB / 0.6917 GB, free: 56.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005657/1.019, allocations: 5.31 MB / 0.6969 GB, free: 54.97 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-05/1.019, allocations: 3.906 kB / 0.6969 GB, free: 54.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=451) (initialization): time 0.007831/1.027, allocations: 6.297 MB / 0.7031 GB, free: 52.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.1e-05/1.027, allocations: 12.75 kB / 0.7031 GB, free: 52.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.643e-05/1.027, allocations: 22.5 kB / 0.7031 GB, free: 52.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001955/1.029, allocations: 1.423 MB / 0.7045 GB, free: 51.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001866/1.031, allocations: 0.5148 MB / 0.705 GB, free: 51.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004094/1.035, allocations: 5.174 MB / 0.7101 GB, free: 48.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/1.037, allocations: 376.1 kB / 0.7104 GB, free: 48.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002385/1.037, allocations: 142.4 kB / 0.7106 GB, free: 48.36 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 () * Number of clocked 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.002519/1.04, allocations: 1.704 MB / 0.7122 GB, free: 47.56 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003533/1.04, allocations: 171.8 kB / 0.7124 GB, free: 47.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006932/1.047, allocations: 5.616 MB / 0.7179 GB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006048/1.053, allocations: 5.164 MB / 0.7229 GB, free: 42.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/1.053, allocations: 0 / 0.7229 GB, free: 42.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.86e-05/1.053, allocations: 18.25 kB / 0.7229 GB, free: 42.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01603/1.069, allocations: 11.16 MB / 0.7338 GB, free: 38.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/1.069, allocations: 0 / 0.7338 GB, free: 38.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/1.07, allocations: 278.8 kB / 0.7341 GB, free: 38.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001792/1.072, allocations: 1.406 MB / 0.7355 GB, free: 36.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002133/1.072, allocations: 66.55 kB / 0.7355 GB, free: 36.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003779/1.076, allocations: 5.138 MB / 0.7406 GB, free: 32.01 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.076, allocations: 0 / 0.7406 GB, free: 32.01 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01001/1.086, allocations: 8.554 MB / 0.7489 GB, free: 24.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/1.088, allocations: 0.7309 MB / 0.7496 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004321/1.088, allocations: 46.64 kB / 0.7497 GB, free: 23.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/1.089, allocations: 86.97 kB / 0.7497 GB, free: 23.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000469/1.09, allocations: 243.1 kB / 0.75 GB, free: 23.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002106/1.09, allocations: 77.7 kB / 0.7501 GB, free: 23.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00106/1.091, allocations: 0.789 MB / 0.7508 GB, free: 22.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.091, allocations: 0 / 0.7508 GB, free: 22.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002773/1.094, allocations: 1.08 MB / 0.7519 GB, free: 21.76 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 () * Number of clocked 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.0004542/1.094, allocations: 201.8 kB / 0.7521 GB, free: 21.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006779/1.101, allocations: 5.161 MB / 0.7571 GB, free: 17.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/1.101, allocations: 4 kB / 0.7571 GB, free: 17.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003189/1.104, allocations: 2.463 MB / 0.7595 GB, free: 15.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002097/1.106, allocations: 345.3 kB / 0.7598 GB, free: 14.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0133/1.12, allocations: 10.67 MB / 0.7703 GB, free: 5.152 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002852/1.123, allocations: 3.259 MB / 0.7734 GB, free: 2.504 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001768/1.124, allocations: 0.6001 MB / 0.774 GB, free: 2.086 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003815/1.125, allocations: 111.3 kB / 0.7741 GB, free: 1.98 MB / 410.7 MB Notification: Performance of SimCode: time 7.82e-07/1.125, allocations: 0 / 0.7741 GB, free: 1.98 MB / 410.7 MB Notification: Performance of Templates: time 0.225/1.35, allocations: 48.42 MB / 0.8214 GB, free: 98.54 MB / 442.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/jenkins1/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