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.001499/0.001499, allocations: 186.7 kB / 16.41 MB, free: 5.727 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.863/1.863, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001121/0.001121, allocations: 95.23 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003972/0.0003974, allocations: 8 kB / 327 MB, free: 224 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3316, allocations: 47.57 MB / 374.5 MB, free: 45.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1451/0.4768, allocations: 89.47 MB / 464 MB, free: 7.297 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/0.4772, allocations: 87.95 kB / 464.1 MB, free: 7.211 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7398/1.217, allocations: 156.6 MB / 0.6061 GB, free: 6.891 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.455e-06/1.217, allocations: 0 / 0.6061 GB, free: 6.891 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002056/1.217, allocations: 99.88 kB / 0.6062 GB, free: 6.793 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.01948/1.237, allocations: 4.343 MB / 0.6105 GB, free: 2.383 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/1.237, allocations: 12.02 kB / 0.6105 GB, free: 2.371 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01392/1.251, allocations: 1.696 MB / 0.6121 GB, free: 0.668 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007555/1.258, allocations: 2.692 MB / 0.6148 GB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004874/1.259, allocations: 349.2 kB / 0.6151 GB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00148/1.26, allocations: 447.9 kB / 0.6155 GB, free: 13.15 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02176/1.282, allocations: 7.542 MB / 0.6229 GB, free: 5.426 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001582/1.282, allocations: 3.984 kB / 0.6229 GB, free: 5.422 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008975/1.283, allocations: 199.9 kB / 0.6231 GB, free: 5.227 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004301/1.284, allocations: 301.4 kB / 0.6234 GB, free: 4.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01844/1.302, allocations: 6.191 MB / 0.6294 GB, free: 14.72 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3493/1.651, allocations: 23.24 MB / 0.6521 GB, free: 63.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01079/1.662, allocations: 6.451 MB / 0.6584 GB, free: 61.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02523/1.688, allocations: 10.81 MB / 0.669 GB, free: 59.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.109e-05/1.688, allocations: 53.97 kB / 0.669 GB, free: 59.78 MB / 410.7 MB Notification: Performance of pre-optimization done (n=319): time 7.594e-06/1.688, allocations: 4.094 kB / 0.669 GB, free: 59.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=319): time 0.02358/1.711, allocations: 12.99 MB / 0.6817 GB, free: 53.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.855e-05/1.711, allocations: 82.5 kB / 0.6818 GB, free: 53.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002032/1.713, allocations: 1.067 MB / 0.6828 GB, free: 53.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004185/1.714, allocations: 59.33 kB / 0.6829 GB, free: 53.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008956/1.715, allocations: 1.697 MB / 0.6846 GB, free: 52.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001216/1.716, allocations: 1.051 MB / 0.6856 GB, free: 51.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004072/1.716, allocations: 59.53 kB / 0.6856 GB, free: 51.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002424/1.717, allocations: 458.7 kB / 0.6861 GB, free: 51.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004853/1.722, allocations: 2.2 MB / 0.6882 GB, free: 51.51 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005266/1.727, allocations: 2.922 MB / 0.6911 GB, free: 50.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005595/1.733, allocations: 2.694 MB / 0.6937 GB, free: 50.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.037e-05/1.733, allocations: 5.719 kB / 0.6937 GB, free: 50.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=451) (initialization): time 0.01376/1.746, allocations: 6.257 MB / 0.6998 GB, free: 49.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.801e-05/1.746, allocations: 14.59 kB / 0.6998 GB, free: 49.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.49e-05/1.746, allocations: 19 kB / 0.6999 GB, free: 49.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003486/1.75, allocations: 1.43 MB / 0.7013 GB, free: 48.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003759/1.754, allocations: 0.5137 MB / 0.7018 GB, free: 48.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007016/1.761, allocations: 5.176 MB / 0.7068 GB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003042/1.764, allocations: 370.9 kB / 0.7072 GB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003761/1.764, allocations: 140.6 kB / 0.7073 GB, free: 45.09 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.003735/1.768, allocations: 1.704 MB / 0.709 GB, free: 44.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006014/1.769, allocations: 169 kB / 0.7091 GB, free: 44.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0124/1.781, allocations: 5.625 MB / 0.7146 GB, free: 41.81 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01079/1.792, allocations: 5.176 MB / 0.7197 GB, free: 39.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/1.792, allocations: 0 / 0.7197 GB, free: 39.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.422e-05/1.792, allocations: 10.22 kB / 0.7197 GB, free: 39.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02289/1.815, allocations: 11.15 MB / 0.7306 GB, free: 34.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.841e-05/1.815, allocations: 0 / 0.7306 GB, free: 34.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002322/1.817, allocations: 283.8 kB / 0.7308 GB, free: 34.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003348/1.821, allocations: 1.406 MB / 0.7322 GB, free: 34.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003347/1.821, allocations: 62.56 kB / 0.7323 GB, free: 34.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006866/1.828, allocations: 5.14 MB / 0.7373 GB, free: 30.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/1.828, allocations: 0 / 0.7373 GB, free: 30.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.018/1.846, allocations: 8.548 MB / 0.7456 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001958/1.848, allocations: 0.7326 MB / 0.7464 GB, free: 23.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004839/1.848, allocations: 42.81 kB / 0.7464 GB, free: 23.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001553/1.85, allocations: 85.8 kB / 0.7465 GB, free: 23.31 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006971/1.851, allocations: 244.4 kB / 0.7467 GB, free: 23.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002777/1.851, allocations: 75.69 kB / 0.7468 GB, free: 23.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001451/1.852, allocations: 0.7861 MB / 0.7476 GB, free: 22.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.81e-07/1.852, allocations: 0 / 0.7476 GB, free: 22.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00354/1.856, allocations: 1.08 MB / 0.7486 GB, free: 21.36 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.0006847/1.857, allocations: 206.4 kB / 0.7488 GB, free: 21.19 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01203/1.869, allocations: 5.152 MB / 0.7538 GB, free: 16.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/1.869, allocations: 448 / 0.7538 GB, free: 16.78 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006189/1.875, allocations: 2.474 MB / 0.7563 GB, free: 14.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002924/1.878, allocations: 311.2 kB / 0.7565 GB, free: 14.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02257/1.901, allocations: 11.09 MB / 0.7674 GB, free: 4.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00393/1.905, allocations: 3.253 MB / 0.7706 GB, free: 1.887 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001056/1.906, allocations: 135 kB / 0.7707 GB, free: 1.762 MB / 410.7 MB Notification: Performance of SimCode: time 1.142e-06/1.906, allocations: 0 / 0.7707 GB, free: 1.762 MB / 410.7 MB Notification: Performance of Templates: time 0.5146/2.42, allocations: 146.2 MB / 0.9135 GB, free: 44.5 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