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.002249/0.002248, allocations: 181.7 kB / 13.66 MB, free: 1.664 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.03/2.03, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.001054/0.001054, allocations: 86.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.037e-05/3.042e-05, allocations: 4 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09062/0.09067, allocations: 47.57 MB / 369.1 MB, free: 2.195 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4082/0.499, allocations: 89.37 MB / 458.5 MB, free: 3.859 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/0.4993, allocations: 78.08 kB / 458.5 MB, free: 3.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7378/1.237, allocations: 156.4 MB / 0.6005 GB, free: 83.29 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.204e-06/1.237, allocations: 0 / 0.6005 GB, free: 83.29 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002182/1.237, allocations: 99.88 kB / 0.6006 GB, free: 83.2 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.0184/1.256, allocations: 4.213 MB / 0.6047 GB, free: 78.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/1.256, allocations: 8.031 kB / 0.6047 GB, free: 78.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0138/1.27, allocations: 1.694 MB / 0.6064 GB, free: 77.26 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007578/1.277, allocations: 2.68 MB / 0.609 GB, free: 74.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005493/1.278, allocations: 348.5 kB / 0.6093 GB, free: 74.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00185/1.28, allocations: 451 kB / 0.6098 GB, free: 73.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02082/1.301, allocations: 7.465 MB / 0.6171 GB, free: 66.13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001514/1.301, allocations: 7.984 kB / 0.6171 GB, free: 66.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001002/1.302, allocations: 195.4 kB / 0.6173 GB, free: 65.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003656/1.302, allocations: 301.4 kB / 0.6175 GB, free: 65.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01651/1.319, allocations: 6.09 MB / 0.6235 GB, free: 59.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05363/1.372, allocations: 23.26 MB / 0.6462 GB, free: 36.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01018/1.383, allocations: 6.423 MB / 0.6525 GB, free: 29.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006984/1.39, allocations: 3.281 MB / 0.6557 GB, free: 25.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02539/1.415, allocations: 10.83 MB / 0.6663 GB, free: 15.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/1.415, allocations: 56.52 kB / 0.6663 GB, free: 14.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=319): time 6.993e-06/1.415, allocations: 4 kB / 0.6663 GB, free: 14.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=319): time 0.01132/1.427, allocations: 5.154 MB / 0.6713 GB, free: 9.766 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/1.427, allocations: 81.34 kB / 0.6714 GB, free: 9.676 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002221/1.429, allocations: 1.056 MB / 0.6725 GB, free: 8.598 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008819/1.43, allocations: 65.7 kB / 0.6725 GB, free: 8.527 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001487/1.431, allocations: 1.696 MB / 0.6742 GB, free: 6.816 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002172/1.434, allocations: 1.058 MB / 0.6752 GB, free: 5.766 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005997/1.434, allocations: 56 kB / 0.6753 GB, free: 5.711 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005227/1.435, allocations: 458.3 kB / 0.6757 GB, free: 5.254 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008746/1.444, allocations: 2.185 MB / 0.6778 GB, free: 3.066 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2997/1.743, allocations: 2.887 MB / 0.6806 GB, free: 80.01 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007335/1.751, allocations: 2.687 MB / 0.6833 GB, free: 79.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.04e-05/1.751, allocations: 5.094 kB / 0.6833 GB, free: 79.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=451) (initialization): time 0.01716/1.768, allocations: 6.199 MB / 0.6893 GB, free: 79.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.707e-05/1.768, allocations: 13.75 kB / 0.6893 GB, free: 79.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.435e-05/1.768, allocations: 21.47 kB / 0.6894 GB, free: 79.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004148/1.772, allocations: 1.419 MB / 0.6908 GB, free: 79.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004411/1.777, allocations: 0.5073 MB / 0.6912 GB, free: 79.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008084/1.785, allocations: 5.161 MB / 0.6963 GB, free: 77.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00361/1.789, allocations: 378.8 kB / 0.6966 GB, free: 77.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006419/1.789, allocations: 141.8 kB / 0.6968 GB, free: 77.67 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.0008774/1.79, allocations: 258 kB / 0.697 GB, free: 77.56 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006208/1.791, allocations: 168 kB / 0.6972 GB, free: 77.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01411/1.805, allocations: 5.598 MB / 0.7027 GB, free: 77.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01143/1.816, allocations: 5.123 MB / 0.7077 GB, free: 77.13 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.617e-05/1.816, allocations: 0 / 0.7077 GB, free: 77.13 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.544e-05/1.816, allocations: 14.97 kB / 0.7077 GB, free: 77.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02685/1.843, allocations: 11.12 MB / 0.7185 GB, free: 75.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.082e-05/1.843, allocations: 3.594 kB / 0.7185 GB, free: 75.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002623/1.846, allocations: 281 kB / 0.7188 GB, free: 75.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003543/1.85, allocations: 1.386 MB / 0.7202 GB, free: 74.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006896/1.85, allocations: 64.45 kB / 0.7202 GB, free: 74.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006987/1.857, allocations: 5.131 MB / 0.7252 GB, free: 71.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/1.857, allocations: 3.953 kB / 0.7252 GB, free: 71.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01925/1.877, allocations: 8.502 MB / 0.7335 GB, free: 67.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002434/1.879, allocations: 0.737 MB / 0.7343 GB, free: 67.13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006209/1.88, allocations: 35.28 kB / 0.7343 GB, free: 67.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001913/1.882, allocations: 90.83 kB / 0.7344 GB, free: 67.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008516/1.883, allocations: 239 kB / 0.7346 GB, free: 67.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003109/1.883, allocations: 82.23 kB / 0.7347 GB, free: 67 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001551/1.885, allocations: 0.7751 MB / 0.7354 GB, free: 66.67 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.51e-07/1.885, allocations: 2.75 kB / 0.7354 GB, free: 66.67 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004414/1.889, allocations: 1.08 MB / 0.7365 GB, free: 66.45 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.0009535/1.89, allocations: 206.9 kB / 0.7367 GB, free: 66.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01294/1.903, allocations: 5.115 MB / 0.7417 GB, free: 64.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.866e-06/1.903, allocations: 0 / 0.7417 GB, free: 64.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00672/1.91, allocations: 2.453 MB / 0.7441 GB, free: 63.47 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003237/1.913, allocations: 309.5 kB / 0.7444 GB, free: 63.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02098/1.934, allocations: 8.241 MB / 0.7524 GB, free: 56.89 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003679/1.938, allocations: 3.245 MB / 0.7556 GB, free: 54.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001102/1.939, allocations: 137.8 kB / 0.7557 GB, free: 54.17 MB / 410.7 MB Notification: Performance of SimCode: time 1.482e-06/1.939, allocations: 4 kB / 0.7557 GB, free: 54.17 MB / 410.7 MB Notification: Performance of Templates: time 0.5318/2.471, allocations: 146.2 MB / 0.8985 GB, free: 100.6 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