Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001766/0.001766, allocations: 181.6 kB / 17.41 MB, free: 4.289 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.891/2.891, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.001063/0.001063, allocations: 87.92 kB / 271.9 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005536/0.0005539, allocations: 16 kB / 328.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5119/0.5125, allocations: 47.57 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2022/0.7148, allocations: 89.59 MB / 465.3 MB, free: 7 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006353/0.7155, allocations: 87.95 kB / 465.4 MB, free: 6.914 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8718/1.587, allocations: 156 MB / 0.6068 GB, free: 7.066 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.319e-06/1.587, allocations: 0 / 0.6068 GB, free: 7.066 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003272/1.588, allocations: 95.94 kB / 0.6069 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.02905/1.617, allocations: 4.297 MB / 0.6111 GB, free: 2.609 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.452e-05/1.617, allocations: 12.03 kB / 0.6111 GB, free: 2.598 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01977/1.637, allocations: 1.701 MB / 0.6128 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0135/1.65, allocations: 2.724 MB / 0.6155 GB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001127/1.652, allocations: 350.3 kB / 0.6158 GB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003966/1.656, allocations: 440 kB / 0.6162 GB, free: 13.34 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03701/1.693, allocations: 7.585 MB / 0.6236 GB, free: 5.574 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003145/1.693, allocations: 11.92 kB / 0.6236 GB, free: 5.562 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002585/1.696, allocations: 195.9 kB / 0.6238 GB, free: 5.371 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007042/1.696, allocations: 297.4 kB / 0.6241 GB, free: 5.078 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02811/1.725, allocations: 6.183 MB / 0.6301 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6034/2.328, allocations: 23.28 MB / 0.6529 GB, free: 64.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02064/2.349, allocations: 6.459 MB / 0.6592 GB, free: 61.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01402/2.363, allocations: 3.308 MB / 0.6624 GB, free: 61.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05253/2.416, allocations: 10.83 MB / 0.673 GB, free: 60.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001586/2.416, allocations: 58.86 kB / 0.673 GB, free: 59.99 MB / 410.7 MB Notification: Performance of pre-optimization done (n=319): time 2.736e-05/2.416, allocations: 0 / 0.673 GB, free: 59.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=319): time 0.03804/2.454, allocations: 8.118 MB / 0.681 GB, free: 59.37 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.507e-05/2.454, allocations: 80.81 kB / 0.681 GB, free: 59.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003989/2.458, allocations: 1.187 MB / 0.6822 GB, free: 59.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001302/2.46, allocations: 61.95 kB / 0.6823 GB, free: 59.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002525/2.462, allocations: 1.677 MB / 0.6839 GB, free: 58.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003373/2.466, allocations: 1.058 MB / 0.6849 GB, free: 57.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001354/2.467, allocations: 54.53 kB / 0.685 GB, free: 57.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.001215/2.468, allocations: 0.4932 MB / 0.6855 GB, free: 57.49 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007753/2.476, allocations: 2.201 MB / 0.6876 GB, free: 57.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009443/2.486, allocations: 2.924 MB / 0.6905 GB, free: 56.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01796/2.504, allocations: 5.31 MB / 0.6957 GB, free: 54.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000111/2.504, allocations: 7.219 kB / 0.6957 GB, free: 54.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=451) (initialization): time 0.02541/2.529, allocations: 6.285 MB / 0.7018 GB, free: 52.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001359/2.529, allocations: 15.34 kB / 0.7018 GB, free: 52.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001456/2.53, allocations: 18.41 kB / 0.7018 GB, free: 52.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004388/2.534, allocations: 1.435 MB / 0.7032 GB, free: 51.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004422/2.539, allocations: 0.514 MB / 0.7037 GB, free: 51.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/2.549, allocations: 5.173 MB / 0.7088 GB, free: 48.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005284/2.554, allocations: 377 kB / 0.7092 GB, free: 48.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001759/2.556, allocations: 140.8 kB / 0.7093 GB, free: 48.25 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.008697/2.565, allocations: 1.706 MB / 0.711 GB, free: 47.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002289/2.567, allocations: 168.6 kB / 0.7111 GB, free: 47.37 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02427/2.592, allocations: 5.62 MB / 0.7166 GB, free: 44.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01966/2.611, allocations: 5.162 MB / 0.7216 GB, free: 42.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.295e-05/2.611, allocations: 4 kB / 0.7216 GB, free: 42.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-05/2.612, allocations: 9.844 kB / 0.7217 GB, free: 42.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04186/2.653, allocations: 11.16 MB / 0.7326 GB, free: 37.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.834e-05/2.654, allocations: 6.094 kB / 0.7326 GB, free: 37.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002669/2.656, allocations: 283.1 kB / 0.7328 GB, free: 37.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004449/2.661, allocations: 1.409 MB / 0.7342 GB, free: 36.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001067/2.662, allocations: 67.11 kB / 0.7343 GB, free: 36.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008519/2.671, allocations: 5.128 MB / 0.7393 GB, free: 32.01 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.756e-06/2.671, allocations: 0 / 0.7393 GB, free: 32.01 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02688/2.698, allocations: 8.557 MB / 0.7476 GB, free: 24.51 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003417/2.701, allocations: 0.7422 MB / 0.7484 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002118/2.703, allocations: 36 kB / 0.7484 GB, free: 23.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003545/2.707, allocations: 86.45 kB / 0.7485 GB, free: 23.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001839/2.709, allocations: 241.5 kB / 0.7487 GB, free: 23.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001257/2.71, allocations: 83.34 kB / 0.7488 GB, free: 23.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003055/2.713, allocations: 0.7837 MB / 0.7495 GB, free: 22.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.843e-06/2.713, allocations: 0 / 0.7495 GB, free: 22.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.009223/2.723, allocations: 1.081 MB / 0.7506 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.001833/2.725, allocations: 212.9 kB / 0.7508 GB, free: 21.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01883/2.743, allocations: 5.153 MB / 0.7558 GB, free: 17.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/2.743, allocations: 0 / 0.7558 GB, free: 17.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008987/2.752, allocations: 2.463 MB / 0.7582 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.00545/2.758, allocations: 346.1 kB / 0.7586 GB, free: 14.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03257/2.791, allocations: 10.55 MB / 0.7689 GB, free: 5.227 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006335/2.797, allocations: 3.18 MB / 0.772 GB, free: 2.637 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001471/2.799, allocations: 138.8 kB / 0.7721 GB, free: 2.508 MB / 410.7 MB Notification: Performance of SimCode: time 2.375e-06/2.799, allocations: 0 / 0.7721 GB, free: 2.508 MB / 410.7 MB Notification: Performance of Templates: time 0.8091/3.608, allocations: 153.3 MB / 0.9218 GB, free: 42.64 MB / 442.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches